glsl: Lower shader storage buffer object loads to GLSL IR instrinsics
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 8 Jul 2015 15:30:44 +0000 (17:30 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Tue, 14 Jul 2015 05:04:04 +0000 (07:04 +0200)
commitea633db65ffa684ea5237b8cb5bd96fbc1a7769a
tree978fbbc37112c2db9d7f90247d6a3d00c64e18b6
parent1966ea57728a1c05300982ddd83de989e363613c
glsl: Lower shader storage buffer object loads to GLSL IR instrinsics

Extend the existing lower_ubo_reference pass to also detect SSBO loads
and lower them to __intrinsic_load_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