mesa/src/asahi/compiler
Alyssa Rosenzweig 76981e5615 agx: Handle loop { if { loop { .. } } }
We need to push loop nesting to handle this correctly -- at the end of
the innermost loop, the correct nesting is 1 (from the if), not 0.

Fixes assertion failure in

  dEQP-GLES2.functional.shaders.struct.local.dynamic_loop_nested_struct_array_fragment,UnexpectedPass
  dEQP-GLES2.functional.shaders.struct.local.dynamic_loop_nested_struct_array_vertex,UnexpectedPass
  dEQP-GLES2.functional.shaders.struct.uniform.dynamic_loop_nested_struct_array_fragment,UnexpectedPass
  dEQP-GLES2.functional.shaders.struct.uniform.dynamic_loop_nested_struct_array_vertex,UnexpectedPass

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17128>
2022-06-22 21:23:50 +00:00
..
test agx: Unit test parallel copy lowering 2022-05-01 22:00:00 -04:00
agx_builder.h.py agx: Dynamically allocate agx_instr->src 2022-05-01 21:58:29 -04:00
agx_compile.c agx: Handle loop { if { loop { .. } } } 2022-06-22 21:23:50 +00:00
agx_compile.h asahi: switch to NIR loop unrolling 2022-05-17 02:12:21 +00:00
agx_compiler.h agx: Remove nir_register support 2022-05-01 22:00:00 -04:00
agx_dce.c agx: Make DCE dumber 2022-05-01 22:00:00 -04:00
agx_liveness.c agx: Remove has_liveness 2022-05-01 22:00:00 -04:00
agx_lower_parallel_copy.c agx: Restore Valve copyright header 2022-05-10 01:36:18 +00:00
agx_lower_pseudo.c agx: Dynamically allocate agx_instr->src 2022-05-01 21:58:29 -04:00
agx_minifloat.h agx: Add 8-bit AGX minifloat routines 2021-05-02 17:41:14 -04:00
agx_opcodes.c.py agx: Generate runtime-accessible opcode table 2021-05-02 17:41:10 -04:00
agx_opcodes.h.py agx: Generate enums from Python 2021-06-05 20:38:22 +00:00
agx_opcodes.py agx: Mark the logical ends of blocks 2022-05-01 22:00:00 -04:00
agx_optimizer.c agx: Copy prop into phi nodes 2022-05-01 22:00:00 -04:00
agx_pack.c agx: Don't kill helper threads in ld_var 2022-02-06 15:02:39 +00:00
agx_print.c agx: Introduce worklist infrastructure 2022-05-01 22:00:00 -04:00
agx_register_allocate.c agx: Remove nir_register support 2022-05-01 22:00:00 -04:00
agx_uniforms.c agx: Naturally align uniform pushes 2022-02-18 23:48:32 +00:00
agx_validate.c agx: Add validation pass 2022-05-01 22:00:00 -04:00
cmdline.c glsl/nir: don't pass gl_context to the convertor routine. 2022-01-07 06:19:49 +00:00
meson.build agx: Add validation pass 2022-05-01 22:00:00 -04:00