mesa/src/amd/common
Marek Olšák 8e8eda4089 radeonsi: fix PS prolog not counting used fragcoord VGPRs correctly
Using the used component count is not enough. We need to consider
the component mask because any component can be disabled. This might
fix tests.

This removes the component counting from ac_get_fs_input_vgpr_cnt
and determines the component mask where it's needed.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32910>
2025-01-29 07:19:40 +00:00
..
nir ac/nir: clamp vertex color outputs in the right place 2025-01-29 07:19:38 +00:00
virtio ac/virtio: add virtio-only AMDGPU_GEM_CREATE flag 2025-01-16 12:24:33 +00:00
.clang-format amd: import libdrm_amdgpu ioctl wrappers 2024-11-25 21:03:41 -05:00
ac_binary.c amd: add initial common code for gfx12 2024-05-11 22:14:05 -04:00
ac_binary.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_cmdbuf.c ac/cmdbuf: program SPI_SHADER_GS_MESHLET_CTRL to 0 in the GFX12 preamble 2025-01-24 11:08:59 +00:00
ac_cmdbuf.h ac,radeonsi,radv: add common GFX preambles 2024-08-27 14:14:57 +00:00
ac_debug.c amd: add initial common code for gfx12 2024-05-11 22:14:05 -04:00
ac_debug.h ac: Add VCN IB parser 2024-09-23 19:25:08 +00:00
ac_descriptors.c ac/descriptors: fix configuring NBC views on GFX12 2025-01-07 09:15:12 +00:00
ac_descriptors.h ac,radv,radeonsi: add a function to build texture descriptors 2024-06-06 10:15:10 +00:00
ac_drm_fourcc.h ac/surf: add more modifiers to gfx12 supported list 2024-12-16 07:35:06 +00:00
ac_fake_hw_db.h amd: include amdgpu_drm.h from mesa instead of system for ac_fake_hw_db.h 2024-12-03 12:02:06 +00:00
ac_formats.c ac,radeonsi: add ac_is_reduction_mode_supported() 2024-07-10 07:57:42 +00:00
ac_formats.h ac,radeonsi: add ac_is_reduction_mode_supported() 2024-07-10 07:57:42 +00:00
ac_gather_context_rolls.c ac: Improve context roll readability 2024-03-19 16:08:14 +00:00
ac_gpu_info.c ac/gpu_info: add gfx12_supports_display_dcc 2025-01-27 08:08:15 +00:00
ac_gpu_info.h ac/gpu_info: add gfx12_supports_display_dcc 2025-01-27 08:08:15 +00:00
ac_hw_stage.h amd: Move ac_hw_stage to its own file 2023-07-03 21:12:45 +00:00
ac_ib_parser.c ac/parse_ib: Replace the parameter list with ac_ib_parser 2024-03-19 16:08:13 +00:00
ac_linux_drm.c amd: add ac_drm_device_get_cookie 2025-01-22 14:55:56 +00:00
ac_linux_drm.h amd: add ac_drm_device_get_cookie 2025-01-22 14:55:56 +00:00
ac_msgpack.c ac: remove unused code 2024-12-26 10:12:43 +00:00
ac_msgpack.h ac: remove unused code 2024-12-26 10:12:43 +00:00
ac_parse_ib.c ac/parse_ib: Parse VCN IB_COMMON_OP_WRITEMEMORY 2024-12-27 08:17:16 +00:00
ac_perfcounter.c ac/perfcounter: fix buffer overflow 2024-11-08 13:31:02 +00:00
ac_perfcounter.h ac/perfcounter: compute the number of global instances of TCP,SQ,GL1C and GL2C 2023-09-14 14:17:19 +00:00
ac_pm4.c amd: use a valid size for ac_pm4_state allocation 2024-07-22 10:09:34 +00:00
ac_pm4.h ac,radeonsi import PM4 state from RadeonSI 2024-06-06 20:26:47 +00:00
ac_rgp.c ac/rgp: assume GFX11_5 use the same SQTT/RGP versions as GFX11 2024-07-17 16:25:19 +00:00
ac_rgp.h ac/rgp: update dumping queue event records to the capture 2023-11-13 08:53:09 +00:00
ac_rgp_elf_object_pack.c amd: Use align64 instead of ALIGN for 64 bit value parameter 2024-01-03 22:02:17 +00:00
ac_rtld.c ac/llvm: implement WA in nir to llvm 2024-06-20 13:14:33 +00:00
ac_rtld.h ac/llvm: implement WA in nir to llvm 2024-06-20 13:14:33 +00:00
ac_shader_args.c nir: change "user_data_amd" sysval from 4 to 8 components 2024-04-13 16:45:08 +00:00
ac_shader_args.h ac/nir: split local_invocation_ids to 3 separate VGPR inputs 2025-01-02 17:36:55 +00:00
ac_shader_debug_info.h amd: Add ac_shader_debug_info 2024-11-11 08:39:13 +00:00
ac_shader_util.c radeonsi: fix PS prolog not counting used fragcoord VGPRs correctly 2025-01-29 07:19:40 +00:00
ac_shader_util.h radeonsi: fix PS prolog not counting used fragcoord VGPRs correctly 2025-01-29 07:19:40 +00:00
ac_shadowed_regs.c amd: add initial common code for gfx12 2024-05-11 22:14:05 -04:00
ac_shadowed_regs.h amd: add a new helper that prints all non-shadowed regs 2023-06-17 23:42:21 +00:00
ac_spm.c ac/spm: do not abort when the SPM BO is too small 2024-10-29 18:33:17 +00:00
ac_spm.h ac/spm: do not abort when the SPM BO is too small 2024-10-29 18:33:17 +00:00
ac_sqtt.c ac/sqtt: update programming SQTT on GFX12 2025-01-20 23:50:10 +00:00
ac_sqtt.h ac/sqtt: update programming SQTT on GFX12 2025-01-20 23:50:10 +00:00
ac_surface.c ac/gpu_info: add gfx12_supports_display_dcc 2025-01-27 08:08:15 +00:00
ac_surface.h radeonsi: Report surface alignment for AV1 encode 2025-01-24 13:04:47 +00:00
ac_surface_meta_address_test.c ac: add 'polaris12' gpu to ac_fake_hw_db 2024-11-08 13:31:02 +00:00
ac_surface_modifier_test.c amd: update addrlib 2024-12-26 21:02:21 +00:00
ac_uvd_dec.h radeonsi/uvd: Set decode target swizzle mode on GFX9 2025-01-17 08:53:05 +00:00
ac_vcn.h ac/vcn: allow sq signature package to be skipped 2024-11-29 10:01:49 +10:00
ac_vcn_av1_default.h ac/radeonsi: add av1 defaults header file from radeonsi 2023-06-16 05:53:44 +00:00
ac_vcn_dec.c ac/radv/radeon: move film grain init to common code. 2024-06-19 20:51:53 +00:00
ac_vcn_dec.h radv/video: support event for pre-VCN4 decode queues 2024-11-29 10:03:48 +10:00
ac_vcn_enc.c ac: Add ac_vcn_init_enc_cmds 2024-09-20 06:58:29 +00:00
ac_vcn_enc.h radeonsi/vcn: Enable VCN4 AV1 encode WA 2024-11-01 14:05:04 +00:00
ac_vcn_enc_av1_default_cdf.h ac,radeonsi: move vcn enc av1 default cdf file to common 2023-09-14 07:51:24 +00:00
amd_family.c ac: remove unused code 2024-12-26 10:12:43 +00:00
amd_family.h radeonsi/vcn: Add vcn_5_0_1 support 2025-01-16 23:41:28 +00:00
amd_kernel_code_t.h amd/common: add AMD_CODE_PROPERTY_ENABLE_WAVEFRONT_SIZE32 property 2023-08-31 20:30:03 +00:00
gfx10_format_table.h amd/common: only pass gfx_level to ac_get_gfx10_format_table() 2024-05-22 08:31:39 +00:00
gfx10_format_table.py ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
meson.build amd: amdgpu-virtio implementation 2025-01-16 12:24:32 +00:00
sid.h ac/virtio: add virtio-only AMDGPU_GEM_CREATE flag 2025-01-16 12:24:33 +00:00
sid_tables.py ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00