mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 18:50:31 +01:00
This lets us support indirect access to UBOs easily. The existing constant special case disappears too, since the peephole optimizer can inline the constant later. (note: this is too conservative since we can go up to 16-bit immediates...) Unfortunately, nir_opt_algebraic can't seem to optimize expressions like "((a << 3) + 4) >> 2" to "(a << 1) + 1" which would be necessary for reasonable perf out of this... Fixes: dEQP-GLES2.functional.shaders.indexing.uniform_array.float_dynamic_loop_read_fragment Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14581> |
||
|---|---|---|
| .. | ||
| agx_builder.h.py | ||
| agx_compile.c | ||
| agx_compile.h | ||
| agx_compiler.h | ||
| agx_dce.c | ||
| agx_liveness.c | ||
| agx_minifloat.h | ||
| agx_opcodes.c.py | ||
| agx_opcodes.h.py | ||
| agx_opcodes.py | ||
| agx_optimizer.c | ||
| agx_pack.c | ||
| agx_print.c | ||
| agx_register_allocate.c | ||
| agx_uniforms.c | ||
| cmdline.c | ||
| meson.build | ||