Track things like "(3)" and "+3" as expressions, not literals.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25511 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
35f04bde8a
commit
b35e9bfa21
6 changed files with 36 additions and 20 deletions
|
|
@ -502,6 +502,7 @@ public:
|
|||
virtual TIntermTyped* fold(TOperator, const TIntermTyped*) const;
|
||||
virtual TIntermTyped* fold(TOperator, const TType&) const;
|
||||
void setLiteral() { literal = true; }
|
||||
void setExpression() { literal = false; }
|
||||
bool isLiteral() const { return literal; }
|
||||
protected:
|
||||
const TConstUnionArray unionArray;
|
||||
|
|
|
|||
|
|
@ -9,5 +9,5 @@
|
|||
// source have to figure out how to create revision.h just to get a build
|
||||
// going. However, if it is not updated, it can be a version behind.
|
||||
|
||||
#define GLSLANG_REVISION "25408"
|
||||
#define GLSLANG_DATE "2014/02/18 18:00:58"
|
||||
#define GLSLANG_REVISION "25411"
|
||||
#define GLSLANG_DATE "2014/02/18 19:47:20"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue