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_elements.cpp
diff --git
a/src/glsl/opt_copy_propagation_elements.cpp
b/src/glsl/opt_copy_propagation_elements.cpp
index 11d9d7baf7294d459060301312111b4848f83599..de9f4ef6f670c08d1ec55683c393fcbbdeb2b5f8 100644
(file)
--- a/
src/glsl/opt_copy_propagation_elements.cpp
+++ b/
src/glsl/opt_copy_propagation_elements.cpp
@@
-49,6
+49,8
@@
static bool debug = false;
+namespace {
+
class acp_entry : public exec_node
{
public:
@@
-135,6
+137,8
@@
public:
void *shader_mem_ctx;
};
+} /* unnamed namespace */
+
ir_visitor_status
ir_copy_propagation_elements_visitor::visit_enter(ir_function_signature *ir)
{