vkd3d-shader/dxil: Implement DX intrinsics SampleBias and SampleLevel.

This commit is contained in:
Conor McCarthy
2024-02-21 14:10:47 +10:00
committed by Alexandre Julliard
parent 87b1de94da
commit 2330ffdeda
Notes: Alexandre Julliard 2024-02-22 23:04:21 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/665
3 changed files with 21 additions and 8 deletions

View File

@ -26,13 +26,13 @@ float4 main() : sv_target
[test]
uniform 0 float4 0.0 0.0 0.0 0.0
todo(sm<4 | sm>=6) draw quad
todo(sm<4) draw quad
probe all rgba (1.0, 0.0, 1.0, 0.0)
uniform 0 float4 0.5 0.0 0.0 0.0
todo(sm<4 | sm>=6) draw quad
todo(sm<4) draw quad
probe all rgba (0.5, 0.0, 1.0, 0.0)
uniform 0 float4 1.0 0.0 0.0 0.0
todo(sm<4 | sm>=6) draw quad
todo(sm<4) draw quad
probe all rgba (0.0, 0.0, 1.0, 0.0)
[require]