glsl: Use the ir_intrinsic_* enums instead of the __intrinsic_* name strings
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 1 Sep 2016 01:09:27 +0000 (18:09 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 4 Oct 2016 23:53:31 +0000 (16:53 -0700)
commitb7df52b106416c410d0e14dc6bba091831f9c786
tree21f6c1e646af6b4ef690dc883259909f1f0dbde4
parent5854de99b2735988f1fd7c08f367b4a8e58b270e
glsl: Use the ir_intrinsic_* enums instead of the __intrinsic_* name strings

   text    data     bss     dec     hex filename
6038043  283160   28608 6349811  60e3f3 lib64/i965_dri.so before
6036507  283160   28608 6348275  60ddf3 lib64/i965_dri.so after

v2: s/ir_intrinsic_atomic_sub/ir_intrinsic_atomic_counter_sub/.  Noticed
by Ilia.

v3: Silence unhandled enum in switch warnings in st_glsl_to_tgsi.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/glsl/lower_shared_reference.cpp
src/compiler/glsl/lower_ubo_reference.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp