mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 12:10:09 +01:00
radv: remove useless check about gl_Position as PS inputs for NGGC
gl_Position isn't part of the PS inputs read mask. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31830>
This commit is contained in:
parent
8e4d1965bd
commit
dc5efa892f
1 changed files with 1 additions and 1 deletions
|
|
@ -670,7 +670,7 @@ radv_consider_culling(const struct radv_physical_device *pdev, struct nir_shader
|
|||
max_ps_params = 12; /* GFX10.3 and newer discrete GPUs. */
|
||||
|
||||
/* TODO: consider other heuristics here, such as PS execution time */
|
||||
if (util_bitcount64(ps_inputs_read & ~VARYING_BIT_POS) > max_ps_params)
|
||||
if (util_bitcount64(ps_inputs_read) > max_ps_params)
|
||||
return false;
|
||||
|
||||
/* Only triangle culling is supported. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue