Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 0ce2b135 by Anna (navi) Figueiredo Gomes at 2025-03-03T17:25:20+01:00 tests/hlsl: Add lower sm1 saturate test.
- - - - - 7cb19709 by Francisco Casas at 2025-03-03T17:26:15+01:00 vkd3d-shader/hlsl: Don't cast all expressions to float.
Instead, allow half, bool, int, and uint, expressions that map to the same float op to reach sm1_generate_vsir_instr_expr().
- - - - - f24cc55c by Francisco Casas at 2025-03-03T17:47:42+01:00 vkd3d-shader/hlsl: Remove lower_nonfloat_exprs().
The only purpose it has at this point is wrapping integer DIV in casts, which can be moved to lower_division().
- - - - -
5 changed files:
- libs/vkd3d-shader/hlsl.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl_codegen.c - tests/hlsl/cast-to-int.shader_test - tests/hlsl/saturate.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/57518d5312271ed504ead45639341...