mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 15:50:32 +01:00
mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()
This commit is contained in:
parent
891cf754b3
commit
ed22544658
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