mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
glsl: initialize data.precision value in ir_variable constructor
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
58954e4daa
commit
91eefe8505
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue