summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pbo.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-02-02 14:23:35 -0800
committerConnor Abbott <[email protected]>2015-07-17 10:10:48 -0700
commitc4a2217e79ac78c59cec3eb97542ceb819f92a44 (patch)
treeba346dedf55d245226f2151bda64bf7811bb46d9 /src/mesa/main/pbo.h
parent9f344b908a95440d215f29c0b05b8ea8dba2839e (diff)
i965/fs: Mark last used ip for all regs read in the payload
If a source register in the push constant registers uses more than one register, then we wouldn't update payload_last_use_ip for subsequent registers. Unlike most uniform data pushed into registers, the CS gl_LocalInvocationID data varies per execution channel. Therefore for SIMD16 mode, we have vec16 data in the payload. In this case we then need to mark 2 registers in payload_last_use_ip as last used by the instruction. There's a similar situation for the z and w coordinates of gl_FragCoord for fragment shaders, where it had only happened to work before because of some bogus interferences which the next commit removes. (Connor: added bit about gl_FragCoord to commit message) Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/mesa/main/pbo.h')
0 files changed, 0 insertions, 0 deletions