summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-09-27 14:52:08 -0700
committerPaul Berry <[email protected]>2013-10-10 14:27:12 -0700
commit9b5b0320b65631aa53bb591681bdb730c90c99da (patch)
tree6507269a459aa105394cad1a90924b56a9c68119 /common.py
parentf2dd3a04ce3bef550eca7893a1e6907cf8e43bc2 (diff)
glsl: Don't allow invalid identifier names in struct/interface fields.
Note: we need to make an exception for the gl_PerVertex interface block, since built-in variables are allowed to be redeclared inside it. Future patches will make redeclaration of gl_PerVertex work properly. Fixes piglit tests: - spec/glsl-1.50/compiler/interface-block-array-elem-uses-gl-prefix.vert - spec/glsl-1.50/compiler/named-interface-block-elem-uses-gl-prefix.vert - spec/glsl-1.50/compiler/unnamed-interface-block-elem-uses-gl-prefix.vert Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions