projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i965/fs: Reorder fs_inst's fields for better packing.
[mesa.git]
/
src
/
glsl
/
lower_mat_op_to_vec.cpp
diff --git
a/src/glsl/lower_mat_op_to_vec.cpp
b/src/glsl/lower_mat_op_to_vec.cpp
index 08cae29fa5d85bca560ca8f33a7d6821502a10af..105ee0d3f51ad75916a16e2c6846107de83e3afe 100644
(file)
--- a/
src/glsl/lower_mat_op_to_vec.cpp
+++ b/
src/glsl/lower_mat_op_to_vec.cpp
@@
-35,6
+35,8
@@
#include "ir_expression_flattening.h"
#include "glsl_types.h"
#include "ir_expression_flattening.h"
#include "glsl_types.h"
+namespace {
+
class ir_mat_op_to_vec_visitor : public ir_hierarchical_visitor {
public:
ir_mat_op_to_vec_visitor()
class ir_mat_op_to_vec_visitor : public ir_hierarchical_visitor {
public:
ir_mat_op_to_vec_visitor()
@@
-63,6
+65,8
@@
public:
bool made_progress;
};
bool made_progress;
};
+} /* anonymous namespace */
+
static bool
mat_op_to_vec_predicate(ir_instruction *ir)
{
static bool
mat_op_to_vec_predicate(ir_instruction *ir)
{