summaryrefslogtreecommitdiff
path: root/chromium/third_party/angle/src/compiler/translator/TranslatorHLSL.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/angle/src/compiler/translator/TranslatorHLSL.h')
-rw-r--r--chromium/third_party/angle/src/compiler/translator/TranslatorHLSL.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/third_party/angle/src/compiler/translator/TranslatorHLSL.h b/chromium/third_party/angle/src/compiler/translator/TranslatorHLSL.h
index 40cfd70f7b6..213d8606822 100644
--- a/chromium/third_party/angle/src/compiler/translator/TranslatorHLSL.h
+++ b/chromium/third_party/angle/src/compiler/translator/TranslatorHLSL.h
@@ -21,10 +21,11 @@ class TranslatorHLSL : public TCompiler
const std::map<std::string, unsigned int> *getUniformRegisterMap() const;
protected:
- void translate(TIntermNode *root, int compileOptions) override;
+ void translate(TIntermNode *root, ShCompileOptions compileOptions) override;
+ bool shouldFlattenPragmaStdglInvariantAll() override;
// collectVariables needs to be run always so registers can be assigned.
- bool shouldCollectVariables(int compileOptions) override { return true; }
+ bool shouldCollectVariables(ShCompileOptions compileOptions) override { return true; }
std::map<std::string, unsigned int> mInterfaceBlockRegisterMap;
std::map<std::string, unsigned int> mUniformRegisterMap;