mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
glsl: do not lose precision information when packing varyings
This information will be used by cross stage validation of varyings for pipeline objects. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
f84bc57d7d
commit
5bd122cad9
1 changed files with 1 additions and 0 deletions
|
|
@ -621,6 +621,7 @@ lower_packed_varyings_visitor::get_packed_varying_deref(
|
|||
packed_var->data.patch = unpacked_var->data.patch;
|
||||
packed_var->data.interpolation = unpacked_var->data.interpolation;
|
||||
packed_var->data.location = location;
|
||||
packed_var->data.precision = unpacked_var->data.precision;
|
||||
unpacked_var->insert_before(packed_var);
|
||||
this->packed_varyings[slot] = packed_var;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue