vkd3d-shader/hlsl: Inline function calls.

This commit is contained in:
Zebediah Figura
2021-09-11 16:56:04 -05:00
committed by Alexandre Julliard
parent 6177cea31f
commit 4b944517b7
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
12 changed files with 383 additions and 66 deletions

View File

@@ -7,7 +7,7 @@ size (1, 1)
0.1 0.2 0.3 0.4
[compute shader todo]
[compute shader]
RWTexture2D<float4> u;
@@ -26,7 +26,7 @@ void main()
}
[test]
todo dispatch 1 1 1
dispatch 1 1 1
probe uav 0 (0, 0) rgba (0.4, 0.1, 0.2, 0.3)
[uav 0]
@@ -35,7 +35,7 @@ size (1, 1)
0.1
[compute shader todo]
[compute shader]
RWTexture2D<float> u;
@@ -51,5 +51,5 @@ void main()
}
[test]
todo dispatch 1 1 1
dispatch 1 1 1
probe uav 0 (0, 0) r (0.2)