mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Avoid performing a multi-component UAV load in uav-out-param.shader_test.
It requires caps beyond shader model 5.0.
This commit is contained in:
parent
8e087b0f17
commit
09c5ed27fe
Notes:
Alexandre Julliard
2023-02-13 22:20:34 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/85
@ -11,9 +11,12 @@ size (1, 1)
|
||||
|
||||
RWTexture2D<float4> u;
|
||||
|
||||
void func(inout float4 f)
|
||||
void func(out float4 f)
|
||||
{
|
||||
f.xz += 0.1;
|
||||
f.x = 0.1;
|
||||
f.y = 0.2;
|
||||
f.z = 0.3;
|
||||
f.w = 0.4;
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
@ -24,4 +27,29 @@ void main()
|
||||
|
||||
[test]
|
||||
todo dispatch 1 1 1
|
||||
todo probe uav 0 (0, 0) rgba (0.1, 0.3, 0.3, 0.5)
|
||||
probe uav 0 (0, 0) rgba (0.4, 0.1, 0.2, 0.3)
|
||||
|
||||
[uav 0]
|
||||
format r32 float
|
||||
size (1, 1)
|
||||
|
||||
0.1
|
||||
|
||||
[compute shader todo]
|
||||
|
||||
RWTexture2D<float> u;
|
||||
|
||||
void func(inout float f)
|
||||
{
|
||||
f += 0.1;
|
||||
}
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main()
|
||||
{
|
||||
func(u[uint2(0, 0)]);
|
||||
}
|
||||
|
||||
[test]
|
||||
todo dispatch 1 1 1
|
||||
probe uav 0 (0, 0) r (0.2)
|
||||
|
Loading…
Reference in New Issue
Block a user