vkd3d-shader/hlsl: Implement texCUBEbias().

This commit is contained in:
Shaun Ren
2025-08-24 19:02:25 -04:00
committed by Henri Verbeet
parent b9545f7422
commit 1083b31dfd
Notes: Henri Verbeet 2025-09-03 13:09:54 +02:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1698
2 changed files with 13 additions and 5 deletions

View File

@@ -121,7 +121,7 @@ probe (0, 0) f32(0.0, 0.0, 10.0, 0.0)
shader model >= 3.0
options: backcompat
[pixel shader fail(sm>=5.1) todo(sm<5.1)]
[pixel shader fail(sm>=5.1) todo(sm>=5.1)]
sampler s;
float bias;
@@ -134,13 +134,13 @@ float4 main(float2 coord : texcoord) : sv_target
[test]
uniform 0 float 7.9
todo draw quad
draw quad
probe (0, 0) f32(10.0, 0.0, 10.0, 0.0)
uniform 0 float 8.4
todo draw quad
draw quad
probe (0, 0) f32(4.0, 0.0, 10.0, 0.0)
uniform 0 float 8.9
todo draw quad
draw quad
probe (0, 0) f32(0.0, 0.0, 10.0, 0.0)