diff options
author | Eric Anholt <[email protected]> | 2016-04-22 11:51:55 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-05-02 11:06:29 -0700 |
commit | 226bd9294541f65c91cad44924ef68b6da18f2a2 (patch) | |
tree | 778c19ce1c96a5150f0714ff74a348fd4c7650fe /src/gallium/drivers/vc4/vc4_qir.h | |
parent | 4b326341f3efc2d5e534ddb755d23a35806bf8f6 (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.h | 5 |
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. * |