Commit 7339ad2e authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig Committed by Marge Bot
Browse files

panvk: Call nir_opt_trivial_continues



Fixes
dEQP-VK.glsl.indexing.tmp_array.vec2_static_loop_write_static_loop_read_vertex
which otherwise fails due to nir_opt_sink being "clever" around unused
loop exit blocks.

Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Boris Brezillon's avatarBoris Brezillon <boris.brezillon@collabora.com>
Part-of: <!16155>
parent 0bd9e4d3
Pipeline #581273 waiting for manual action with stages
......@@ -18,7 +18,7 @@ include = [
"dEQP-VK.glsl.builtin.precision.frexp.*",
"dEQP-VK.glsl.builtin.precision.ldexp.*",
"dEQP-VK.glsl.builtin_var.*",
"dEQP-VK.glsl.indexing.varying_array.*",
"dEQP-VK.glsl.indexing.*",
"dEQP-VK.glsl.opaque_type_indexing.sampler.*",
"dEQP-VK.glsl.conversions.*",
"dEQP-VK.glsl.derivate.*.constant.*",
......
......@@ -584,6 +584,7 @@ panvk_per_arch(shader_create)(struct panvk_device *dev,
NIR_PASS_V(nir, nir_opt_copy_prop_vars);
NIR_PASS_V(nir, nir_opt_combine_stores, nir_var_all);
NIR_PASS_V(nir, nir_opt_trivial_continues);
if (stage == MESA_SHADER_FRAGMENT)
panvk_lower_blend(pdev, nir, &inputs, blend_state, static_blend_constants);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment