mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-08 21:08:14 +02:00
asahi: use NIR_PASS to validate more
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
This commit is contained in:
parent
290b8da8b6
commit
e203d04f43
1 changed files with 7 additions and 7 deletions
|
|
@ -41,13 +41,13 @@ agx_compile_bg_eot_shader(struct agx_bg_eot_cache *cache, nir_shader *shader,
|
|||
agx_preprocess_nir(shader);
|
||||
if (tib) {
|
||||
unsigned bindless_base = 0;
|
||||
agx_nir_lower_tilebuffer(shader, tib, NULL, &bindless_base, NULL, NULL);
|
||||
agx_nir_lower_monolithic_msaa(shader, tib->nr_samples);
|
||||
agx_nir_lower_multisampled_image_store(shader);
|
||||
agx_nir_lower_texture(shader);
|
||||
|
||||
nir_shader_intrinsics_pass(shader, lower_tex_handle_to_u0,
|
||||
nir_metadata_control_flow, NULL);
|
||||
NIR_PASS(_, shader, agx_nir_lower_tilebuffer, tib, NULL, &bindless_base,
|
||||
NULL, NULL);
|
||||
NIR_PASS(_, shader, agx_nir_lower_monolithic_msaa, tib->nr_samples);
|
||||
NIR_PASS(_, shader, agx_nir_lower_multisampled_image_store);
|
||||
NIR_PASS(_, shader, agx_nir_lower_texture);
|
||||
NIR_PASS(_, shader, nir_shader_intrinsics_pass, lower_tex_handle_to_u0,
|
||||
nir_metadata_control_flow, NULL);
|
||||
}
|
||||
|
||||
struct agx_bg_eot_shader *res = rzalloc(cache->ht, struct agx_bg_eot_shader);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue