mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Use cached vector types in more places.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
98cfd7b09f
commit
b8502ed51c
@@ -2397,7 +2397,7 @@ type:
|
||||
YYABORT;
|
||||
}
|
||||
|
||||
$$ = hlsl_new_type(ctx, NULL, HLSL_CLASS_VECTOR, $3->base_type, $5, 1);
|
||||
$$ = ctx->builtin_types.vector[$3->base_type][$5 - 1];
|
||||
}
|
||||
| KW_MATRIX '<' type ',' C_INTEGER ',' C_INTEGER '>'
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user