Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 00b79cd7 by Francisco Casas at 2025-01-14T17:59:50+01:00 tests: Test SampleGrad() on ps_3_0.
fxc compiles this method even without the backcompat option.
Furthermore, it even does it on ps_2_0 despite the fact that it maps to a texldd instruction, which is not available on plain ps_2_0, nor ps_2_b, only on ps_2_a and ps_3_0 according to documentation.
It is worth mentioning that the additional offset parameter is not supported when lowering.
- - - - - 0a595537 by Francisco Casas at 2025-01-14T17:59:50+01:00 vkd3d-shader/hlsl: Lower separate SampleGrad() for SM1.
- - - - - efd7f2e0 by Francisco Casas at 2025-01-14T17:59:50+01:00 vkd3d-shader/hlsl: Don't lower separate samples with texel offsets.
- - - - -
2 changed files:
- libs/vkd3d-shader/hlsl_codegen.c - tests/hlsl/sample-grad.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/c7e173a1ffa1ba6916dd549bf9f32...