aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/lower_discard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/lower_discard.cpp')
-rw-r--r--mesalib/src/glsl/lower_discard.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/glsl/lower_discard.cpp b/mesalib/src/glsl/lower_discard.cpp
index cafd2dd3b..f2757d120 100644
--- a/mesalib/src/glsl/lower_discard.cpp
+++ b/mesalib/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)