mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Apply type modifiers recursively when cloning a type.
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: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
1dbb146454
commit
faeeed84f9
@@ -236,3 +236,17 @@ float4 main() : sv_target
|
||||
{
|
||||
return float4(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
[pixel shader fail]
|
||||
typedef struct apple
|
||||
{
|
||||
float a;
|
||||
} apple_t;
|
||||
|
||||
uniform const apple_t a;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
a.a = 1;
|
||||
return a.a;
|
||||
}
|
||||
|
Reference in New Issue
Block a user