projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8db38e
)
glsl2: Initialize the ARB_fcc fields of ir_variable.
author
Eric Anholt
<eric@anholt.net>
Mon, 2 Aug 2010 18:20:32 +0000
(11:20 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 2 Aug 2010 18:20:32 +0000
(11:20 -0700)
Fixes intermittent failure in glsl-arb-fragment-coord-conventions.
src/glsl/ir.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir.cpp
b/src/glsl/ir.cpp
index 2b5f441ddd84ae023289540d895aebd862085a85..79cbaa9ea07b5d7e1f3ef78f17de8bcbdad8380a 100644
(file)
--- a/
src/glsl/ir.cpp
+++ b/
src/glsl/ir.cpp
@@
-802,6
+802,8
@@
ir_variable::ir_variable(const struct glsl_type *type, const char *name,
this->location = -1;
this->warn_extension = NULL;
this->constant_value = NULL;
+ this->origin_upper_left = false;
+ this->pixel_center_integer = false;
if (type && type->base_type == GLSL_TYPE_SAMPLER)
this->read_only = true;