Skip to content
Snippets Groups Projects
Commit e3d55e31 authored by Francisco Casas's avatar Francisco Casas Committed by Alexandre Julliard
Browse files

tests: Test single numeric initializers.

parent 6b58079c
Branches
Tags
No related merge requests found
......@@ -84,6 +84,7 @@ vkd3d_shader_tests = \
tests/hlsl-return-implicit-conversion.shader_test \
tests/hlsl-return-void.shader_test \
tests/hlsl-shape.shader_test \
tests/hlsl-single-numeric-initializer.shader_test \
tests/hlsl-state-block-syntax.shader_test \
tests/hlsl-static-initializer.shader_test \
tests/hlsl-storage-qualifiers.shader_test \
......
[pixel shader]
float4 main() : sv_target
{
float4 aa = 7;
return aa;
}
[test]
draw quad
probe all rgba (7.0, 7.0, 7.0, 7.0)
[pixel shader]
float4 main() : sv_target
{
float4 bb;
float3 aa = 7;
bb.xyz = aa;
bb.w = 8.0;
return bb;
}
[test]
draw quad
probe all rgba (7.0, 7.0, 7.0, 8.0)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment