X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fparser.cpp;h=615d75d426a38e1e2e83dabf09fee6edd23b78e7;hp=d210cee9fe7d97c97dc48e90ec2f3b43ec6a6209;hb=79db78e77054cd93e69123b3b6495a561f5cbd10;hpb=7272d97c23eedb3850661deec964c4a9c96337fe diff --git a/source/glsl/parser.cpp b/source/glsl/parser.cpp index d210cee9..615d75d4 100644 --- a/source/glsl/parser.cpp +++ b/source/glsl/parser.cpp @@ -176,7 +176,7 @@ bool Parser::is_interface_qualifier(const string &token) bool Parser::is_sampling_qualifier(const string &token) { - return (token=="centroid" || token=="sample"); + return (token=="centroid" || token=="sample" || token=="patch"); } bool Parser::is_interpolation_qualifier(const string &token)