i965/vec4/nir: add nir_intrinsic_memory_barrier support
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Tue, 15 Sep 2015 09:16:29 +0000 (11:16 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 30 Sep 2015 06:13:07 +0000 (08:13 +0200)
commit023165a734b3bae52a449ad01bc1ea5ba4384ec1
tree9878cf633fdfa2fe4bb662c277ec530548329502
parentf24e5e68d6bd640da2d9a3ae1cf7898ef9ed2fce
i965/vec4/nir: add nir_intrinsic_memory_barrier support

Fix OpenGL ES 3.1 conformance tests: advanced-readWrite-case1-vsfs
and advanced-matrix-vsfs.

v2:
- Fix SHADER_OPCODE_MEMORY_FENCE emission and the allocation of 'tmp'
  (Francisco).

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Tested-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp