i965/simd8vs: Fix SIMD8 atomics (read-only)
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 17 Feb 2015 17:57:35 +0000 (09:57 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 18 Feb 2015 22:33:36 +0000 (14:33 -0800)
commit4a95be9772a255776309f23180519a4a8560f2dd
tree6c845847315cc300d09d47c76564d0573a45f0db
parentb0e26173b26b60bb3892de9e4b764f608e0e13c7
i965/simd8vs: Fix SIMD8 atomics (read-only)

An update for d9cd982d556be560af3bcbcdaf62b6b93eb934a5.

A similar change was needed for CS to allow the piglit test
tests/spec/arb_compute_shader/execution/simple-barrier-atomics.shader_test
to pass.

The previous change (d9cd982d) should fix cases that write atomics,
such as atomicCounterIncrement, and this change will fix cases than
only read atomics, such as atomicCounter.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp