projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58954e4
)
glsl: initialize data.precision value in ir_variable constructor
author
Samuel Iglesias Gonsálvez
<siglesias@igalia.com>
Mon, 16 Nov 2015 10:59:18 +0000
(11:59 +0100)
committer
Samuel Iglesias Gonsálvez
<siglesias@igalia.com>
Tue, 17 Nov 2015 09:36:42 +0000
(10:36 +0100)
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/glsl/ir.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir.cpp
b/src/glsl/ir.cpp
index 8933b2301770e458322b8de9a3e3b8df9f4ae78b..8b5ba71fbba73a206710b45ad5f04a8dab3dfccb 100644
(file)
--- a/
src/glsl/ir.cpp
+++ b/
src/glsl/ir.cpp
@@
-1676,6
+1676,7
@@
ir_variable::ir_variable(const struct glsl_type *type, const char *name,
this->data.interpolation = INTERP_QUALIFIER_NONE;
this->data.max_array_access = 0;
this->data.atomic.offset = 0;
+ this->data.precision = GLSL_PRECISION_NONE;
this->data.image_read_only = false;
this->data.image_write_only = false;
this->data.image_coherent = false;