Skip to content
Snippets Groups Projects
Commit f8d0d8c2 authored by John Kessenich's avatar John Kessenich
Browse files

Address issue #718. Should change which warning is generated, hopefully to a better one.

parent 509177d1
No related branches found
No related tags found
No related merge requests found
......@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.1817"
#define GLSLANG_REVISION "Overload400-PrecQual.1819"
#define GLSLANG_DATE "08-Feb-2017"
......@@ -2333,9 +2333,10 @@ bool HlslGrammar::acceptPostfixExpression(TIntermTyped*& node)
struct tFinalize {
tFinalize(HlslParseContext& p) : parseContext(p) { }
~tFinalize() { parseContext.finalizeFlattening(); }
HlslParseContext& parseContext;
HlslParseContext& parseContext;
private:
tFinalize& operator=(tFinalize&) { }
const tFinalize& operator=(const tFinalize& f);
tFinalize(const tFinalize& f);
} finalize(parseContext);
// Initialize the flattening accumulation data, so we can track data across multiple bracket or
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment