projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl: Make a function to express a GLSL version ir human-readable form.
[mesa.git]
/
src
/
glsl
/
opt_copy_propagation.cpp
diff --git
a/src/glsl/opt_copy_propagation.cpp
b/src/glsl/opt_copy_propagation.cpp
index 923619db45a4ce22abd19127f98f473a45b06277..2952ce594f729c35a54fa02d581a80a5f3c58093 100644
(file)
--- a/
src/glsl/opt_copy_propagation.cpp
+++ b/
src/glsl/opt_copy_propagation.cpp
@@
-38,6
+38,8
@@
#include "ir_optimization.h"
#include "glsl_types.h"
+namespace {
+
class acp_entry : public exec_node
{
public:
@@
-107,6
+109,8
@@
public:
void *mem_ctx;
};
+} /* unnamed namespace */
+
ir_visitor_status
ir_copy_propagation_visitor::visit_enter(ir_function_signature *ir)
{