vkd3d-shader/hlsl: Produce 2D resource declarations and loads for tex1D().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov
2023-09-11 12:23:04 +02:00
committed by Alexandre Julliard
parent 61b403a032
commit 177ea3bcbd
Notes: Alexandre Julliard 2023-09-13 23:18:39 +02:00
Approved-by: Zebediah Figura (@zfigura)
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/339
2 changed files with 39 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ float4 main() : sv_target
}
[pixel shader todo]
[pixel shader]
sampler sam[2];
float4 main() : sv_target
@@ -130,8 +130,8 @@ float4 main() : sv_target
}
[test]
todo draw quad
todo probe all rgba (1, 1, 1, 11)
draw quad
probe all rgba (1, 1, 1, 11)
[require]