mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Track objects sampling dimension.
This commit is contained in:
committed by
Alexandre Julliard
parent
4dba38e6c8
commit
3e9a9c5051
Notes:
Alexandre Julliard
2023-05-08 22:34:16 +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/159
@@ -54,3 +54,12 @@ float4 main() : sv_target
|
||||
{
|
||||
return tex3D(s, float3(0.0, 0.0, 0.0));
|
||||
}
|
||||
|
||||
|
||||
[pixel shader fail]
|
||||
sampler s;
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
return tex2D(s, float2(0.0, 0.0)) + tex3D(s, float3(0.0, 0.0, 0.0));
|
||||
}
|
||||
|
Reference in New Issue
Block a user