diff options
Diffstat (limited to 'Source/ThirdParty/ANGLE/src/compiler/VersionGLSL.h')
-rw-r--r-- | Source/ThirdParty/ANGLE/src/compiler/VersionGLSL.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/ThirdParty/ANGLE/src/compiler/VersionGLSL.h b/Source/ThirdParty/ANGLE/src/compiler/VersionGLSL.h index 64d002b..376fcb8 100644 --- a/Source/ThirdParty/ANGLE/src/compiler/VersionGLSL.h +++ b/Source/ThirdParty/ANGLE/src/compiler/VersionGLSL.h @@ -21,13 +21,15 @@ // - invariant keyword and its support. // - c++ style name hiding rules. // - built-in variable gl_PointCoord for fragment shaders. +// - matrix constructors taking matrix as argument. // class TVersionGLSL : public TIntermTraverser { public: TVersionGLSL(ShShaderType type); - // Returns 120 if "invariant" keyword or "gl_PointCoord" is used - // in the shader. Else 110 is returned. + // Returns 120 if "invariant" keyword, "gl_PointCoord", or + // matrix/matrix constructors are used in the shader. Else 110 is + // returned. int getVersion() { return mVersion; } virtual void visitSymbol(TIntermSymbol*); |