radv: add missing RADV_DEBUG_NO_NGG_GS to the physical device cache key
This affects shaders and they need to be recompiled.
Fixes: 69d734a8d5 ("radv: add RADV_DEBUG=nongg_gs for GFX10/GFX10.3")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27820>
This commit is contained in:
committed by
Marge Bot
parent
be46639974
commit
ba7b7e2d3f
@@ -161,6 +161,7 @@ radv_physical_device_init_cache_key(struct radv_physical_device *pdevice)
|
||||
key->lower_discard_to_demote = !!(pdevice->instance->debug_flags & RADV_DEBUG_DISCARD_TO_DEMOTE);
|
||||
key->mesh_fast_launch_2 = pdevice->mesh_fast_launch_2;
|
||||
key->no_fmask = !!(pdevice->instance->debug_flags & RADV_DEBUG_NO_FMASK);
|
||||
key->no_ngg_gs = !!(pdevice->instance->debug_flags & RADV_DEBUG_NO_NGG_GS);
|
||||
key->no_rt = !!(pdevice->instance->debug_flags & RADV_DEBUG_NO_RT);
|
||||
key->ps_wave32 = pdevice->ps_wave_size == 32;
|
||||
key->rt_wave64 = pdevice->rt_wave_size == 64;
|
||||
|
||||
@@ -252,6 +252,7 @@ struct radv_physical_device_cache_key {
|
||||
uint32_t lower_discard_to_demote : 1;
|
||||
uint32_t mesh_fast_launch_2 : 1;
|
||||
uint32_t no_fmask : 1;
|
||||
uint32_t no_ngg_gs : 1;
|
||||
uint32_t no_rt : 1;
|
||||
uint32_t ps_wave32 : 1;
|
||||
uint32_t rt_wave64 : 1;
|
||||
|
||||
Reference in New Issue
Block a user