mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-19 18:50:43 +02:00
hk: always lower bindless samplers
oddly only a single CTS case hits this.
dEQP-VK.subgroups.uniform_descriptor_indexing.combined_image_sampler
Fixes: 642c6c6f62 ("hk,agx: promote bindless samplers")
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36257>
This commit is contained in:
parent
20bf4a28a2
commit
ca255cb703
1 changed files with 6 additions and 6 deletions
|
|
@ -436,17 +436,17 @@ agx_nir_opt_preamble(nir_shader *nir, unsigned *sizes)
|
|||
bool progress = false;
|
||||
NIR_PASS(progress, nir, nir_opt_preamble, &preamble_options, sizes);
|
||||
|
||||
if (progress) {
|
||||
int16_t heap[512];
|
||||
memset(heap, ~0, sizeof(heap));
|
||||
int16_t heap[512];
|
||||
memset(heap, ~0, sizeof(heap));
|
||||
|
||||
if (progress) {
|
||||
nir_function_intrinsics_pass(nir_shader_get_preamble(nir),
|
||||
lower_store_preamble,
|
||||
nir_metadata_control_flow, heap);
|
||||
|
||||
NIR_PASS(progress, nir, nir_shader_intrinsics_pass, lower_preamble,
|
||||
nir_metadata_control_flow, heap);
|
||||
}
|
||||
|
||||
NIR_PASS(progress, nir, nir_shader_intrinsics_pass, lower_preamble,
|
||||
nir_metadata_control_flow, heap);
|
||||
|
||||
return progress;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue