projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
egl-static: fix printf warning
[mesa.git]
/
src
/
glsl
/
lower_noise.cpp
diff --git
a/src/glsl/lower_noise.cpp
b/src/glsl/lower_noise.cpp
index cb32d28348629288e20824c2addbb2e85bfb711c..85f59b675e0469663a3d950fb57de49f6c2cd796 100644
(file)
--- a/
src/glsl/lower_noise.cpp
+++ b/
src/glsl/lower_noise.cpp
@@
-51,7
+51,7
@@
public:
* that implements noise. No hardware has a noise instruction.
*/
if (expr->operation == ir_unop_noise) {
* that implements noise. No hardware has a noise instruction.
*/
if (expr->operation == ir_unop_noise) {
- *rvalue = ir_constant::zero(
t
alloc_parent(expr), expr->type);
+ *rvalue = ir_constant::zero(
r
alloc_parent(expr), expr->type);
this->progress = true;
}
}
this->progress = true;
}
}