Henri Verbeet pushed to branch master at wine / vkd3d
Commits: cf7fade5 by Francisco Casas at 2024-10-24T20:48:20+02:00 vkd3d-shader/hlsl: Store the thread group size in the vsir program.
- - - - - 158bf794 by Francisco Casas at 2024-10-24T20:50:59+02:00 vkd3d-shader/hlsl: Introduce hlsl_ir_vsir_instruction_ref, again.
This node type will be deleted (again) once the hlsl->vsir->tpf translation is complete. It serves the purpose of allowing to keep both real hlsl_ir_nodes and vsir_instructions in the hlsl_block, until all the former can be translated into the latter.
- - - - - 23be6ed0 by Francisco Casas at 2024-10-24T20:50:59+02:00 vkd3d-shader/hlsl: Store temp declarations in the vsir program.
Move the temp allocation back to hlsl_codegen.c.
Note that the DCL_TEMPS instructions wouldn't be necessary if we had the capacity to store the temp_count for both the main program and the patch constant program (or more generally speaking, a temp_count for all phases).
The plan is to eventually also move the HS_CONTROL_POINT and HS_FORK_PHASE markers to the vsir_program, making it able to contain both functions.
- - - - - 9d829156 by Francisco Casas at 2024-10-24T20:50:59+02:00 vkd3d-shader/hlsl: Make allocation functions static again.
- - - - -
5 changed files:
- libs/vkd3d-shader/hlsl.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl.y - libs/vkd3d-shader/hlsl_codegen.c - libs/vkd3d-shader/tpf.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/91701f83035c0d67d1ab917e0f6b7...