mesa/src/amd/common
Timur Kristóf a4fd8ba7e3 amd/common: Introduce ac_get_fs_input_vgpr_cnt.
Add a function called ac_get_fs_input_vgpr_cnt which will return
the number of input VGPRs used by an AMD shader. Previously,
radv and radeonsi had the same code duplicated, but this commit also
allows them to share this code.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2019-09-26 13:36:49 +00:00
..
.editorconfig amd: add .editorconfig 2017-08-29 01:08:58 +03:00
ac_binary.c amd/common: Add num_shared_vgprs to ac_shader_config for GFX10. 2019-09-26 13:36:49 +00:00
ac_binary.h amd/common: Add num_shared_vgprs to ac_shader_config for GFX10. 2019-09-26 13:36:49 +00:00
ac_debug.c util: use standard name for strchrnul() 2019-07-19 22:39:38 +01:00
ac_debug.h ac: select the GFX ring when halting waves with UMR on GFX10 2019-07-08 09:10:57 +02:00
ac_exp_param.h radeonsi/ac: move vertex export remove to common code. 2017-04-27 05:17:47 +01:00
ac_gpu_info.c ac: stop using PCI IDs for chip identification 2019-09-23 15:14:11 -04:00
ac_gpu_info.h ac: move ac_get_num_physical_vgprs into radeon_info 2019-09-18 14:39:06 -04:00
ac_llvm_build.c amd/common: Extract some helper functions to ac_shader_util. 2019-09-26 13:36:49 +00:00
ac_llvm_build.h amd/common: Extract some helper functions to ac_shader_util. 2019-09-26 13:36:49 +00:00
ac_llvm_cull.c ac: add LLVM code for triangle culling 2019-05-16 13:06:58 -04:00
ac_llvm_cull.h ac: add LLVM code for triangle culling 2019-05-16 13:06:58 -04:00
ac_llvm_helper.cpp ac: Remove DEBUG workaround 2019-09-17 10:24:29 +00:00
ac_llvm_util.c radv/aco: Setup alternate path in RADV to support the experimental ACO compiler 2019-09-19 12:10:00 +02:00
ac_llvm_util.h amd: replace major llvm version checks with LLVM_VERSION_MAJOR 2019-09-06 22:26:29 +01:00
ac_nir_to_llvm.c amd/common: Extract some helper functions to ac_shader_util. 2019-09-26 13:36:49 +00:00
ac_nir_to_llvm.h ac/nir_to_llvm: add ac_are_tessfactors_def_in_all_invocs() 2019-01-02 10:01:24 +11:00
ac_rtld.c radv/radeonsi: Don't count read-only data when reporting code size 2019-09-05 12:21:35 +02:00
ac_rtld.h radv/radeonsi: Don't count read-only data when reporting code size 2019-09-05 12:21:35 +02:00
ac_shader_abi.h ac: drop now useless lookup_interp_param from ABI 2019-08-30 08:23:56 +02:00
ac_shader_util.c amd/common: Introduce ac_get_fs_input_vgpr_cnt. 2019-09-26 13:36:49 +00:00
ac_shader_util.h amd/common: Introduce ac_get_fs_input_vgpr_cnt. 2019-09-26 13:36:49 +00:00
ac_surface.c radeonsi: move texture storage allocation outside of radeonsi 2019-09-09 23:43:03 -04:00
ac_surface.h radeonsi: move texture storage allocation outside of radeonsi 2019-09-09 23:43:03 -04:00
amd_family.h radeonsi: add support for Renoir 2019-08-14 17:31:04 -04:00
amd_kernel_code_t.h tree-wide: remove trailing backslash 2017-06-07 01:18:09 +01:00
meson.build amd/common/gfx10: add register JSON 2019-07-03 15:51:12 -04:00
sid.h radeonsi: add PKT3_CONTEXT_REG_RMW 2019-08-27 16:16:08 -04:00
sid_tables.py ac/registers: don't use the si, cik, vi names, use gfxN 2019-06-03 20:06:41 -04:00