mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
ac/lower_ngg: use is_subgroup_invocation_lt_amd offset
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31184>
This commit is contained in:
parent
bcfc5c09fa
commit
151cd9c92b
1 changed files with 1 additions and 2 deletions
|
|
@ -528,8 +528,7 @@ has_input_vertex(nir_builder *b)
|
|||
static nir_def *
|
||||
has_input_primitive(nir_builder *b)
|
||||
{
|
||||
return nir_is_subgroup_invocation_lt_amd(b,
|
||||
nir_ushr_imm(b, nir_load_merged_wave_info_amd(b), 8));
|
||||
return nir_is_subgroup_invocation_lt_amd(b, nir_load_merged_wave_info_amd(b), .base = 8);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue