mesa/src/amd/common
Yonggang Luo 622c6d3e9a radv: Add macros for win32 that accessed
Fixes: 3e85a0c90b ("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>
2022-05-16 18:57:06 +00:00
..
ac_binary.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_binary.h ac: remove really_needs_scratch, parameter from ac_parse_shader_binary_config 2022-05-03 11:11:08 -04:00
ac_debug.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_debug.h amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_drm_fourcc.h radv: Add macros for win32 that accessed 2022-05-16 18:57:06 +00:00
ac_gpu_info.c radv: Add losing member hw_ip_version_major and hw_ip_version_minor for win32 2022-05-16 18:57:06 +00:00
ac_gpu_info.h radeonsi/gfx11: set BIG_PAGE for the attribute ring 2022-05-16 07:03:41 -04:00
ac_msgpack.c ac/rgp: add ac_msgpack.h/c 2021-02-19 14:29:46 +00:00
ac_msgpack.h ac/rgp: add ac_msgpack.h/c 2021-02-19 14:29:46 +00:00
ac_nir.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_nir.h amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_nir_cull.c ac/nir: use shorter builder names 2022-01-21 13:45:33 +00:00
ac_nir_lower_esgs_io_to_mem.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_nir_lower_global_access.c ac/nir: Do not set cursor in try_extract_additions 2022-05-03 09:23:49 +00:00
ac_nir_lower_ngg.c ac/nir: fix 64-bit NGG GS output stores 2022-04-16 11:19:11 +00:00
ac_nir_lower_taskmesh_io_to_mem.c ac/nir: Add I/O lowering for task and mesh shaders. 2022-05-12 00:29:51 +00:00
ac_nir_lower_tess_io_to_mem.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_nir_opt_outputs.c radv: Fixes compiling error with msvc 2022-05-16 18:57:06 +00:00
ac_perfcounter.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_perfcounter.h ac: add initial SPM support 2021-11-11 10:05:49 +00:00
ac_rgp.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_rgp.h ac/rgp: add support for dumping SPM data 2021-11-11 10:05:49 +00:00
ac_rgp_elf_object_pack.c treewide: drop mtypes/macros includes from main 2021-12-08 22:14:45 +00:00
ac_rtld.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_rtld.h amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_shader_args.c ac: add shader return values into ac_shader_args 2020-12-09 20:13:24 +00:00
ac_shader_args.h radv,aco: Use ray_launch_size_addr 2022-05-12 15:04:31 +00:00
ac_shader_util.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_shader_util.h amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_shadowed_regs.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_shadowed_regs.h amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_spm.c ac/spm: setup write broadcasting correctly 2022-04-22 13:51:44 +02:00
ac_spm.h ac: add initial SPM support 2021-11-11 10:05:49 +00:00
ac_sqtt.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_sqtt.h radv: Add safety check for RGP traces on VanGogh. 2021-12-17 21:25:01 +00:00
ac_surface.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_surface.h amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_surface_meta_address_test.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_surface_modifier_test.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_surface_test_common.h amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_uvd_dec.h amd: move uvd decode definitions to common place 2022-01-20 07:07:32 +10:00
ac_vcn_dec.h radeonsi/vcn: update av1 decoding to support vcn4 2022-05-10 04:29:55 +00:00
amd_family.c amd: add chip identification for gfx1100-1103 2022-05-10 04:29:55 +00:00
amd_family.h amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
amd_kernel_code_t.h amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
gfx10_format_table.h amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
gfx10_format_table.py amd: update gfx10_format_table.py for gfx11 2022-05-10 04:29:54 +00:00
meson.build ac/nir: Add I/O lowering for task and mesh shaders. 2022-05-12 00:29:51 +00:00
sid.h radeonsi/gfx11: use PIXEL_PIPE_STATE_DUMP event instead of ZPASS_DONE 2022-05-10 04:29:55 +00:00
sid_tables.py amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00