nir/lower-tex: add srgb->linear lowering
authorRob Clark <robclark@freedesktop.org>
Tue, 19 Apr 2016 12:28:22 +0000 (08:28 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 19 Apr 2016 21:13:50 +0000 (17:13 -0400)
commiteddfc977096c63dc9699b63b05ad0e1212680fb1
tree43504361d69dbfaf60f14b403e47ea1aec57857e
parenteb00a0fc581c4040bc2e4640da4ff9f40c951ae8
nir/lower-tex: add srgb->linear lowering

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_tex.c