summaryrefslogtreecommitdiffstats
path: root/src/glsl/standalone_scaffolding.cpp
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2013-11-27 00:15:06 +0100
committerMatt Turner <mattst88@gmail.com>2014-01-21 14:01:09 -0800
commit955c93dc089f85fe52f4f34971ffcca43eb87310 (patch)
treed2dc98a5aa06eff7b187d41ee406dcfd334e529d /src/glsl/standalone_scaffolding.cpp
parent41c9bf884ff266e9c2286002446ed2297838086f (diff)
downloadexternal_mesa3d-955c93dc089f85fe52f4f34971ffcca43eb87310.zip
external_mesa3d-955c93dc089f85fe52f4f34971ffcca43eb87310.tar.gz
external_mesa3d-955c93dc089f85fe52f4f34971ffcca43eb87310.tar.bz2
glsl: Match unnamed record types across stages.
Unnamed record types are assigned to separate types per stage, e.g. if uniform struct { ... } a; is defined in both vertex and fragment shader, two separate types will result with different names. When linking the shader, this results in a type conflict. However, there is no reason why this should not be allowed according to GLSL specifications. Compare and match record types when linking shader stages to avoid this conflict. Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/glsl/standalone_scaffolding.cpp')
0 files changed, 0 insertions, 0 deletions