glsl: Track a unique intrinsic ID with each intrinsic function
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 31 Aug 2016 00:49:24 +0000 (17:49 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 4 Oct 2016 23:53:31 +0000 (16:53 -0700)
commit5854de99b2735988f1fd7c08f367b4a8e58b270e
tree9fad096d319b67ecbf067143fca87a21e0f3fd6e
parentc01f2bfc6c7abfbbb66b9d91a81b96518285ccf1
glsl: Track a unique intrinsic ID with each intrinsic function

   text    data     bss     dec     hex filename
6037483  283160   28608 6349251  60e1c3 lib64/i965_dri.so before
6038043  283160   28608 6349811  60e3f3 lib64/i965_dri.so after

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