glsl/nir: Handle unlowered SSBO atomic and array_length intrinsics
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Mar 2019 17:00:04 +0000 (12:00 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 15 Mar 2019 01:02:19 +0000 (01:02 +0000)
commit77e5ec394e3eb63f8e92cd020e07f6fecd54f263
tree2f9582f7c5a54fd9b170cf4715d1d474d7eb846c
parent76ba225184ed6e7f8cf0b427ae2ad81daa105ffb
glsl/nir: Handle unlowered SSBO atomic and array_length intrinsics

We didn't have any of these before because all NIR consumers always
called lower_ubo_references.  Soon, we want to pass the derefs straight
through to NIR so we need to handle these intrinsics directly.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/glsl/glsl_to_nir.cpp