diff options
author | Eric Anholt <[email protected]> | 2015-01-10 15:01:48 +1300 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-01-10 20:55:37 +1300 |
commit | a8e14c293b19a2d298f91f283d6b6839f36fb518 (patch) | |
tree | d4e63712e0de0b37b8aeb80f144681a720b81651 /src/gallium/drivers/vc4/vc4_qir.h | |
parent | b920ecf793bd419558a240014624add08774765d (diff) |
vc4: Allow dead code elimination of VPM reads.
This gets a bunch of dead reads out of the CSes, which don't read most
attributes generally.
total instructions in shared programs: 39753 -> 39487 (-0.67%)
instructions in affected programs: 4721 -> 4455 (-5.63%)
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h index d2f89ae9e69..307a79f77c6 100644 --- a/src/gallium/drivers/vc4/vc4_qir.h +++ b/src/gallium/drivers/vc4/vc4_qir.h @@ -30,6 +30,7 @@ #include <stdint.h> #include <string.h> +#include "util/macros.h" #include "util/u_simple_list.h" #include "tgsi/tgsi_parse.h" |