mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Add tex1D() function.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
f525e9e93a
commit
c5d680d141
Notes:
Alexandre Julliard
2023-09-07 23:00:30 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/324
@@ -60,3 +60,11 @@ float4 main() : sv_target
|
||||
{
|
||||
return texCUBE(s, float3(0.0, 0.0, 0.0));
|
||||
}
|
||||
|
||||
[pixel shader]
|
||||
sampler1D s;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return tex1D(s, 0.0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user