OSDN Git Service

vc4: Switch to using native integers.
authorEric Anholt <eric@anholt.net>
Sun, 24 Aug 2014 21:05:37 +0000 (14:05 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 4 Sep 2014 18:39:51 +0000 (11:39 -0700)
commit80b27ca2cd8cd2bb2937baa441c43a396887cc03
treea5e9e327cf986b60e6c3476f7b813467089a4990
parent874dfa8b2ecccf3c9a73453d7ccc6638363a59bd
vc4: Switch to using native integers.

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.
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu_emit.c
src/gallium/drivers/vc4/vc4_screen.c