mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-17 03:50:35 +01:00
nir: handle get_ubo_size as a resource query in nir_shader_gather_info
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39743>
This commit is contained in:
parent
2d9be41706
commit
1d09a975bf
1 changed files with 1 additions and 0 deletions
|
|
@ -902,6 +902,7 @@ gather_intrinsic_info(nir_intrinsic_instr *instr, nir_shader *shader)
|
|||
instr->intrinsic == nir_intrinsic_bindless_image_levels ||
|
||||
instr->intrinsic == nir_intrinsic_bindless_image_size ||
|
||||
instr->intrinsic == nir_intrinsic_bindless_image_samples ||
|
||||
instr->intrinsic == nir_intrinsic_get_ubo_size ||
|
||||
instr->intrinsic == nir_intrinsic_get_ssbo_size)
|
||||
shader->info.uses_resource_info_query = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue