mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
90f9407b80
They are not allowed by the native compiler, except in compatibility mode.
24 lines
291 B
Plaintext
24 lines
291 B
Plaintext
[pixel shader fail(sm<6) todo]
|
|
uniform half h;
|
|
|
|
float4 main() : sv_target
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
[require]
|
|
options: backcompat
|
|
|
|
[pixel shader]
|
|
uniform half h;
|
|
|
|
float4 main() : sv_target
|
|
{
|
|
return h;
|
|
}
|
|
|
|
[test]
|
|
uniform 0 float 10.0
|
|
todo(sm>=6) draw quad
|
|
probe all rgba (10.0, 10.0, 10.0, 10.0)
|