Henri Verbeet pushed to branch master at wine / vkd3d
Commits: e3118110 by Henri Verbeet at 2025-09-08T12:34:16+02:00 vkd3d-shader/d3d-asm: Print data types for indexable temporary declarations.
- - - - - ea90f7ae by Henri Verbeet at 2025-09-08T12:34:16+02:00 vkd3d-shader/dxil: Emit 16-bit indexable temporaries as 32-bit registers.
Unless the "native low precision" flag is enabled. vkd3d_component_type_from_data_type() currently ends up doing this mapping for us in the SPIR-V backend, but that's about to go away.
- - - - - 38078f2c by Henri Verbeet at 2025-09-08T12:34:16+02:00 vkd3d-shader/hlsl: Map HLSL_TYPE_HALF to VSIR_DATA_F32.
VSIR_DATA_F16 would require VKD3DSGF_FORCE_NATIVE_LOW_PRECISION, but we don't currently implement that. vkd3d_component_type_from_data_type() currently ends up doing this mapping for us in the SPIR-V backend, but that's about to go away.
- - - - - 6607b94a by Henri Verbeet at 2025-09-08T12:34:16+02:00 vkd3d-shader/ir: Map 16-bit vsir types to 16-bit component types in vkd3d_component_type_from_data_type().
Mapping these to 32-bit types if needed is supposed to happen in the frontends now.
- - - - -
4 changed files:
- libs/vkd3d-shader/d3d_asm.c - libs/vkd3d-shader/dxil.c - libs/vkd3d-shader/hlsl_codegen.c - libs/vkd3d-shader/vkd3d_shader_private.h
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/7851cbfd3dcac037afb9c2ad54a06...