mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
fb2b974466
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
44 lines
473 B
Plaintext
44 lines
473 B
Plaintext
[require]
|
|
shader model >= 5.0
|
|
|
|
[pixel shader fail todo]
|
|
unorm uint4 var;
|
|
|
|
float4 main() : sv_target
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
[pixel shader fail]
|
|
float4 unorm;
|
|
|
|
float4 main() : sv_target
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
[pixel shader fail]
|
|
float4 snorm;
|
|
|
|
float4 main() : sv_target
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
[pixel shader]
|
|
unorm float var;
|
|
|
|
float4 main() : sv_target
|
|
{
|
|
return var;
|
|
}
|
|
|
|
[pixel shader]
|
|
RWTexture2D<unorm float> u;
|
|
|
|
float4 main() : sv_target
|
|
{
|
|
u[uint2(0, 0)] = 0.7;
|
|
return 0;
|
|
}
|