diff options
Diffstat (limited to 'chromium/third_party/angle/src/compiler/timing/RestrictVertexShaderTiming.h')
-rw-r--r-- | chromium/third_party/angle/src/compiler/timing/RestrictVertexShaderTiming.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/chromium/third_party/angle/src/compiler/timing/RestrictVertexShaderTiming.h b/chromium/third_party/angle/src/compiler/timing/RestrictVertexShaderTiming.h deleted file mode 100644 index 19a05fa68bc..00000000000 --- a/chromium/third_party/angle/src/compiler/timing/RestrictVertexShaderTiming.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// - -#ifndef COMPILER_TIMING_RESTRICT_VERTEX_SHADER_TIMING_H_ -#define COMPILER_TIMING_RESTRICT_VERTEX_SHADER_TIMING_H_ - -#include "GLSLANG/ShaderLang.h" - -#include "compiler/intermediate.h" -#include "compiler/InfoSink.h" - -class TInfoSinkBase; - -class RestrictVertexShaderTiming : public TIntermTraverser { -public: - RestrictVertexShaderTiming(TInfoSinkBase& sink) - : TIntermTraverser(true, false, false) - , mSink(sink) - , mNumErrors(0) {} - - void enforceRestrictions(TIntermNode* root) { root->traverse(this); } - int numErrors() { return mNumErrors; } - - virtual void visitSymbol(TIntermSymbol*); -private: - TInfoSinkBase& mSink; - int mNumErrors; -}; - -#endif // COMPILER_TIMING_RESTRICT_VERTEX_SHADER_TIMING_H_ |