summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-04-22 11:51:55 -0700
committerEric Anholt <[email protected]>2016-05-02 11:06:29 -0700
commit226bd9294541f65c91cad44924ef68b6da18f2a2 (patch)
tree778c19ce1c96a5150f0714ff74a348fd4c7650fe /src/gallium/drivers/vc4/vc4_qir.h
parent4b326341f3efc2d5e534ddb755d23a35806bf8f6 (diff)
vc4: Use NIR lowering for sRGB decode.
This should get us the same decode code generated, but with a lot less custom code in the driver.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index 7d2bdc093ef..7ea6ec8a50f 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -379,11 +379,6 @@ struct vc4_compile {
uint8_t vattr_sizes[8];
- /* Bitfield for whether a given channel of a sampler needs sRGB
- * decode.
- */
- uint8_t tex_srgb_decode[VC4_MAX_TEXTURE_SAMPLERS];
-
/**
* Array of the VARYING_SLOT_* of all FS QFILE_VARY reads.
*