summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_discard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/lower_discard.cpp')
-rw-r--r--src/glsl/lower_discard.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/lower_discard.cpp b/src/glsl/lower_discard.cpp
index cafd2dd3b44..f2757d12048 100644
--- a/src/glsl/lower_discard.cpp
+++ b/src/glsl/lower_discard.cpp
@@ -108,6 +108,8 @@
#include "glsl_types.h"
#include "ir.h"
+namespace {
+
class lower_discard_visitor : public ir_hierarchical_visitor {
public:
lower_discard_visitor()
@@ -120,6 +122,7 @@ public:
bool progress;
};
+} /* anonymous namespace */
bool
lower_discard(exec_list *instructions)