commit | 4848122a96a46d6725cbfe92041459d11aea70fc | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Thu Oct 20 02:00:52 2011 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Fri Mar 30 14:39:31 2012 -0700 |
tree | 16f800e3e3b9d1f55620fcec807318fe5b8acd08 | |
parent | a23dcc18e71e905da117d14b5d56c4e49c66ab79 [diff] |
i965: Set "Shader Channel Select" fields in Haswell's SURFACE_STATE. These can be used to implement EXT_texture_swizzle without baking state-dependent swizzle instructions into the shader and forcing recompiles. For now, just set them to pass-through mode, so everything continues to work as it did on Ivybridge. We can optimize this later. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>