summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/i915/drm/i915_drm_winsys.c
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-05-11 05:19:33 +0800
committerMarge Bot <emma+marge@anholt.net>2022-05-16 18:57:06 +0000
commit622c6d3e9a4f8d0833debe9edd5560f569551250 (patch)
tree26d29b04ab0b80ebe1e47ba156a0e8ccb48ee053 /src/gallium/winsys/i915/drm/i915_drm_winsys.c
parenta2aabb1812814afbf210d2d2c75c7f2bfa0de393 (diff)
radv: Add macros for win32 that accessedHEADmain
Fixes: 3e85a0c90b5 ("ac/surface: define gfx11 modifiers") ../../src/amd/common/ac_surface.c: In function 'ac_get_supported_modifiers': ../../src/amd/common/ac_surface.c:421:47: error: 'AMD_FMT_MOD_TILE_GFX11_256K_R_X' undeclared (first use in this function); did you mean 'AMD_FMT_MOD_TILE_GFX9_64K_R_X'? 421 | unsigned swizzle_r_x = num_pipes > 16 ? AMD_FMT_MOD_TILE_GFX11_256K_R_X : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | AMD_FMT_MOD_TILE_GFX9_64K_R_X ../../src/amd/common/ac_surface.c:421:47: note: each undeclared identifier is reported only once for each function it appears in In file included from ../../src/amd/common/ac_surface.c:31: ../../src/amd/common/ac_surface.c:424:61: error: 'AMD_FMT_MOD_TILE_VER_GFX11' undeclared (first use in this function); did you mean 'AMD_FMT_MOD_TILE_VER_GFX10'? 424 | AMD_FMT_MOD_SET(TILE_VERSION, AMD_FMT_MOD_TILE_VER_GFX11) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/amd/common/ac_drm_fourcc.h:75:21: note: in definition of macro 'AMD_FMT_MOD_SET' 75 | ((uint64_t)(value) << AMD_FMT_MOD_##field##_SHIFT) | ^~~~~ Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16373>
Diffstat (limited to 'src/gallium/winsys/i915/drm/i915_drm_winsys.c')
0 files changed, 0 insertions, 0 deletions