mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
1240a947d2
Signed-off-by: Francisco Casas <fcasas@codeweavers.com> Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
19 lines
297 B
Plaintext
19 lines
297 B
Plaintext
[pixel shader]
|
|
float4 main() : SV_TARGET
|
|
{
|
|
float4 arr[] = {10, 20, 30, 40, 50, 60, 70, 80};
|
|
return arr[1];
|
|
}
|
|
|
|
[test]
|
|
todo draw quad
|
|
todo probe all rgba (50, 60, 70, 80)
|
|
|
|
|
|
[pixel shader fail]
|
|
float4 main() : SV_TARGET
|
|
{
|
|
float4 arr[] = {10, 20, 30, 40, 50, 60, 70};
|
|
return arr[0];
|
|
}
|