summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-01-18 14:34:07 -0800
committerKenneth Graunke <[email protected]>2014-01-22 17:18:49 -0800
commite0a560291184b7b5ff32afa60a202893ca5a3d77 (patch)
treedcbfb87d6d870d1a4cf31dc020b852b6b292053e /src/mapi
parent6943ac0bd9d0d07019cffbbcb5189aa8d67b729b (diff)
i965/vec4: Don't set header_present if texel offsets are all 0.
In theory, a shader might use textureOffset() but set all the texel offsets to zero. In that case, we don't actually need to set up the message header - zero is the implicit default. By moving the texture_offset setup before the header_present setup, we can easily only set header_present when there are non-zero texel offset values. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions