summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/compute.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2014-09-21 18:31:45 -0700
committerJordan Justen <[email protected]>2015-02-21 11:40:53 -0800
commit17fbd854e03a569d71885e54a98dab45bfa6b897 (patch)
treecb01ea256d15b3a2be10323f3ab7f9a25413690f /src/mesa/main/compute.h
parent9fe81879c54562a4abbfba3eb5f6081f152c83db (diff)
i965/fs: Set pixel/sample mask for compute shaders atomic ops
For fragment programs, we pull this mask from the payload header. The same mask doesn't exist for compute shaders, so we set all bits to enabled. Previously we were setting 0xff to support SIMD8 VS, but with CS we support SIMD16, and therefore we change this to 0xffff. Related commits for SIMD8 VS: commit d9cd982d556be560af3bcbcdaf62b6b93eb934a5 Author: Ben Widawsky <[email protected]> Date: Sun Feb 15 20:06:59 2015 -0800 i965/simd8vs: Fix SIMD8 atomics commit 4a95be9772a255776309f23180519a4a8560f2dd Author: Jordan Justen <[email protected]> Date: Tue Feb 17 09:57:35 2015 -0800 i965/simd8vs: Fix SIMD8 atomics (read-only) Note: this mask is ANDed with the execution mask, so some channels may not end up issuing the atomic operation. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Ben Widawsky <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/mesa/main/compute.h')
0 files changed, 0 insertions, 0 deletions