glsl: Record in gl_shader_program whether the program uses GLSL ES.
authorPaul Berry <stereotype441@gmail.com>
Fri, 3 Aug 2012 00:50:43 +0000 (17:50 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 6 Dec 2012 20:13:22 +0000 (12:13 -0800)
commit91c92bb6fbacdf713e36a9702fbc2ab4d203152c
tree686b494007ecce15810292f206d519dadb304f65
parenta9f34dc304eaed868122fece2ed26760af95ba81
glsl: Record in gl_shader_program whether the program uses GLSL ES.

Previously we recorded just the GLSL version (or the max version, if
GLSL 1.10 and GLSL 1.20 programs were linked together).

[v2, idr]: s/IsEs(Shader|Prog)/IsES/  Suggested by Ken and Eric.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Carl Worth <cworth@cworth.org>
src/glsl/linker.cpp
src/mesa/main/mtypes.h