glsl: Lower shader storage buffer object writes to GLSL IR instrinsics
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 8 Jul 2015 15:03:06 +0000 (17:03 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Tue, 14 Jul 2015 05:04:04 +0000 (07:04 +0200)
commit1966ea57728a1c05300982ddd83de989e363613c
tree49ae2c2fa9754379c1bb7143f6000a28d3a5d3bc
parent2a66ee6fc1fa1e64f2d9a22271187d4462d9e042
glsl: Lower shader storage buffer object writes to GLSL IR instrinsics

Extend the existing lower_ubo_reference pass to also detect SSBO writes
and lower them to __intrinsic_store_ssbo intrinsics.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/lower_ubo_reference.cpp