glsl/linker: pass through the is_intrinsic flag
authorConnor Abbott <cwabbott0@gmail.com>
Sat, 16 Aug 2014 00:12:06 +0000 (17:12 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 21 Aug 2014 18:46:13 +0000 (11:46 -0700)
commit06ef6315732cf89d20a831bd5b4861550769276f
treec3daa92b9f26fece4f7a2f91171fe2a92e7109c0
parent619505ac7c862895f63a6074540376355059a519
glsl/linker: pass through the is_intrinsic flag

This flag was set to true for the atomic counter intrinsics, but it
never got plumbed through the linker, so by the time it got to the
backends it would always be set to the false. The current i965 backend
code doesn't use is_intrinsic, so this should not change any existing
code, but it's useful for codepaths that want to distinguish between
intrinsics and non-intrinsics without using strcmp.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Connor Abbott <connor.abbott@intel.com>
src/glsl/link_functions.cpp