glsl: resource is a reserved keyword in GLSL 4.20 as well
authorDave Airlie <airlied@redhat.com>
Tue, 3 May 2016 06:44:20 +0000 (16:44 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 3 May 2016 20:44:45 +0000 (06:44 +1000)
commit3110a0aa2304616bf996fdf019ad4457bed44dfd
treed5a947a5355578e75e113bc17aa8bc0fe766e315
parentebbe31d57c195245b2b556c14291cafccc835738
glsl: resource is a reserved keyword in GLSL 4.20 as well

resource just appears in GLSL 4.20 without any fanfare.

Fixes GL43-CTX.CommonBugs.CommonBug_ReservedNames

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/glsl_lexer.ll