mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()
(cherry picked from commit 0e2f757413)
This commit is contained in:
parent
c249ac6d14
commit
19111c5efc
1 changed files with 3 additions and 0 deletions
|
|
@ -122,6 +122,9 @@ slang_fully_specified_type_copy(slang_fully_specified_type * x,
|
|||
if (!slang_fully_specified_type_construct(&z))
|
||||
return 0;
|
||||
z.qualifier = y->qualifier;
|
||||
z.precision = y->precision;
|
||||
z.variant = y->variant;
|
||||
z.centroid = y->centroid;
|
||||
if (!slang_type_specifier_copy(&z.specifier, &y->specifier)) {
|
||||
slang_fully_specified_type_destruct(&z);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue