microsoft/compiler: Unroll loops in opt passes

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22786>
This commit is contained in:
Jesse Natalie 2023-05-01 13:08:12 -07:00 committed by Marge Bot
parent bb65d36c5c
commit cc66d546dd
3 changed files with 3 additions and 8 deletions

View file

@ -27,8 +27,8 @@ spec@arb_tessellation_shader@execution@variable-indexing@tcs-patch-output-array-
spec@arb_tessellation_shader@execution@variable-indexing@tcs-patch-output-array-vec2-index-wr,Crash
spec@arb_tessellation_shader@execution@variable-indexing@tcs-patch-output-array-vec3-index-wr,Crash
spec@arb_tessellation_shader@execution@variable-indexing@tcs-patch-output-array-vec4-index-wr,Crash
spec@arb_tessellation_shader@execution@variable-indexing@tcs-patch-vec4-index-wr,Crash
spec@arb_tessellation_shader@execution@variable-indexing@tcs-patch-vec4-swiz-index-wr,Crash
spec@arb_tessellation_shader@execution@variable-indexing@tcs-patch-vec4-index-wr,Fail
spec@arb_tessellation_shader@execution@variable-indexing@tcs-patch-vec4-swiz-index-wr,Fail
spec@arb_tessellation_shader@execution@variable-indexing@tes-both-input-array-float-index-rd,Crash
spec@arb_tessellation_shader@execution@variable-indexing@tes-both-input-array-vec2-index-rd,Crash
spec@arb_tessellation_shader@execution@variable-indexing@tes-both-input-array-vec3-index-rd,Crash

View file

@ -239,12 +239,6 @@ dEQP-VK.glsl.loops.generic.do_while_uniform_iterations.basic_highp_float_fragmen
dEQP-VK.glsl.loops.generic.do_while_uniform_iterations.basic_highp_float_vertex,Fail
dEQP-VK.glsl.loops.generic.do_while_uniform_iterations.basic_mediump_float_fragment,Fail
dEQP-VK.glsl.loops.generic.do_while_uniform_iterations.basic_mediump_float_vertex,Fail
dEQP-VK.glsl.loops.special.do_while_constant_iterations.dowhile_trap_fragment,Fail
dEQP-VK.glsl.loops.special.do_while_constant_iterations.dowhile_trap_vertex,Fail
dEQP-VK.glsl.loops.special.do_while_constant_iterations.nested_sequence_fragment,Fail
dEQP-VK.glsl.loops.special.do_while_constant_iterations.nested_sequence_vertex,Fail
dEQP-VK.glsl.loops.special.do_while_constant_iterations.sequence_fragment,Fail
dEQP-VK.glsl.loops.special.do_while_constant_iterations.sequence_vertex,Fail
dEQP-VK.glsl.loops.special.do_while_dynamic_iterations.dowhile_trap_fragment,Fail
dEQP-VK.glsl.loops.special.do_while_dynamic_iterations.dowhile_trap_vertex,Fail
dEQP-VK.glsl.loops.special.do_while_dynamic_iterations.nested_sequence_fragment,Fail

View file

@ -6408,6 +6408,7 @@ optimize_nir(struct nir_shader *s, const struct nir_to_dxil_options *opts)
NIR_PASS(progress, s, nir_opt_deref);
NIR_PASS(progress, s, dxil_nir_lower_upcast_phis, opts->lower_int16 ? 32 : 16);
NIR_PASS(progress, s, nir_lower_64bit_phis);
NIR_PASS(progress, s, nir_opt_loop_unroll);
NIR_PASS_V(s, nir_lower_system_values);
} while (progress);