vc4: Add support for loading immediate values in QIR.

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 6 May 2016 12:25 UTC

This will be used for resetting the uniform stream in the presence of branching, but may also be useful as an optimization to reduce how many uniforms we have to copy out per draw call (in exchange for increasing icache pressure).

a1f6988 vc4: Add support for loading immediate values in QIR.
src/gallium/drivers/vc4/vc4_qir.c | 6 ++++++
src/gallium/drivers/vc4/vc4_qir.h | 17 +++++++++++++++++
src/gallium/drivers/vc4/vc4_qir_validate.c | 2 ++
src/gallium/drivers/vc4/vc4_qpu_emit.c | 7 +++++++
4 files changed, 32 insertions(+)

Upstream: cgit.freedesktop.org


  • Share