vc4: Use the pure/const attributes on a bunch of our QPU functions.
authorEric Anholt <eric@anholt.net>
Fri, 10 Jul 2015 23:30:27 +0000 (16:30 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 17 Jul 2015 19:25:55 +0000 (12:25 -0700)
commit90dfabc3b5ce5b485a1bbcd7e815a72588f7153d
tree8a58b213f0825a9f5dfb3c097f62085dc4aa1779
parentbe1f49bda90425b7fd009ac177b307e61da0f994
vc4: Use the pure/const attributes on a bunch of our QPU functions.

On a release build, this makes the rest of vc4_qpu_validate.c go away
(the compiler didn't know that our qpu helper function calls had no
side effects).
src/gallium/drivers/vc4/vc4_qpu.h
src/gallium/drivers/vc4/vc4_tiling.h