vkd3d-shader/dxil: Implement DX intrinsic CalculateLOD.

This commit is contained in:
Conor McCarthy
2023-06-15 00:11:56 +10:00
committed by Alexandre Julliard
parent bdfa14d219
commit cb5411408a
Notes: Alexandre Julliard 2024-04-11 17:03:01 -05: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/733
2 changed files with 40 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ float4 main(float4 pos : sv_position) : sv_target
}
[test]
todo draw quad
todo(sm<6 | glsl) draw quad
probe all rgba (2.0, 1.0, 0.0, 14.0)
@@ -46,7 +46,7 @@ float4 main(float4 pos : sv_position) : sv_target
}
[test]
todo draw quad
todo(sm<6 | glsl) draw quad
probe all rgba (2.0, 2.0, 0.0, 0.0)
@@ -63,7 +63,7 @@ float4 main(float4 pos : sv_position) : sv_target
}
[test]
todo draw quad
todo(sm<6 | glsl) draw quad
probe all rgba (2.0, 1.0, 0.0, 14.0)
@@ -80,5 +80,5 @@ float4 main(float4 pos : sv_position) : sv_target
}
[test]
todo draw quad
todo(sm<6 | glsl) draw quad
probe all rgba (45.0, 50.0, -14.0, -47.0)