Skip to content
Snippets Groups Projects
Commit d2dd99d5 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz :lifter: Committed by Dylan Baker
Browse files

zink: flag optimization pass after inlining uniforms


this probably generated some pretty gnarly code

cc: mesa-stable

Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
Part-of: <mesa/mesa!16669>
(cherry picked from commit 02a3a5ff)

Conflicts:
	src/gallium/drivers/zink/zink_compiler.c
parent ebda3819
No related branches found
No related tags found
No related merge requests found
......@@ -2722,7 +2722,7 @@
"description": "zink: flag optimization pass after inlining uniforms",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},
......
......@@ -1390,6 +1390,7 @@ zink_shader_compile(struct zink_screen *screen, struct zink_shader *zs, nir_shad
NIR_PASS_V(nir, nir_lower_io_to_scalar, nir_var_mem_ubo | nir_var_mem_ssbo | nir_var_mem_shared);
NIR_PASS_V(nir, rewrite_bo_access, screen);
NIR_PASS_V(nir, remove_bo_access);
need_optimize = true;
}
if (inlined_uniforms) {
optimize_nir(nir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment