mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 18:30:42 +02:00
glsl2: Initialize the ARB_fcc fields of ir_variable.
Fixes intermittent failure in glsl-arb-fragment-coord-conventions.
This commit is contained in:
parent
b8db38e1c4
commit
960ba0014a
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue