nir: Implement lowered SSBO atomic intrinsics
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 1 Jun 2015 07:40:39 +0000 (09:40 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 25 Sep 2015 06:39:23 +0000 (08:39 +0200)
commit9d5c0be5d518a0ac7381ebe40b1fa2bef9839bdf
tree91bd7852d9e6112f01380cadaf96fcf63d770ccd
parentd2719b6e4f6bdbbd29ac66903d3d9dad9bd01386
nir: Implement lowered SSBO atomic intrinsics

The original GLSL IR intrinsics have been lowered to an internal
version that accepts a block index and an offset instead of a
SSBO reference.

v2 (Connor):
  - Document the sources used by the atomic intrinsics.

Reviewed-by: Connor Abbott <connor.w.abbott@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir_intrinsics.h