vc4: Switch to using native integers

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 4 September 2014 13:39 UTC

There were troubles with bools without using native integers (st_glsl_to_tgsi seemed to think bool true was 1.0f sometimes, when as a uniform it's stored as ~0), and since I've got native integers other than divide, I might as well just support them.

80b27ca vc4: Switch to using native integers.
src/gallium/drivers/vc4/vc4_program.c | 171 +++++++++++++++++++++++++++++++-
src/gallium/drivers/vc4/vc4_qir.c | 16 ++-
src/gallium/drivers/vc4/vc4_qir.h | 34 +++++++
src/gallium/drivers/vc4/vc4_qpu_emit.c | 12 +++
src/gallium/drivers/vc4/vc4_screen.c | 1 +
5 files changed, 228 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share