mesa/src/asahi/compiler
Alyssa Rosenzweig 2338dcd392 asahi,agx: Don't set PIPE_CAP_POINT_COORD_ORIGIN_UPPER_LEFT
Tell the state tracker our point coordinates have a lower left origin
instead of an upper left origin, and remove our point coordinate
flipping code. Saves an instruction in any shader that reads
gl_PointCoord.y

Note: the OpenGL blob also emits an "fadd $y', ^y.neg, 1.0" to flip
point coordinates, so this isn't just a Metal weirdness.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16829>
2022-06-08 14:10: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 asahi,agx: Don't set PIPE_CAP_POINT_COORD_ORIGIN_UPPER_LEFT 2022-06-08 14:10: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_opcodes.c.py
agx_opcodes.h.py
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
meson.build agx: Add validation pass 2022-05-01 22:00:00 -04:00