Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 5571522e by Shaun Ren at 2024-10-15T16:10:56+02:00 vkd3d-shader/hlsl: Introduce process_entry_function() helper.
This will be used in order to process both the entry point function and the patch constant function in hull shaders.
- - - - - bbc6b56a by Shaun Ren at 2024-10-15T16:13:31+02:00 vkd3d-shader/hlsl: Clone static_initializers for each entry function.
- - - - - f15a1c0b by Shaun Ren at 2024-10-15T16:18:27+02:00 vkd3d-shader/hlsl: Record semantic extern vars separately for each entry function.
This is required in order to process the entry point function and the patch constant function in hull shaders.
- - - - - 5f8570b9 by Shaun Ren at 2024-10-15T16:18:36+02:00 vkd3d-shader/hlsl: Track whether a variable is read in any entry function.
- - - - - 0c5dc53f by Shaun Ren at 2024-10-15T16:39:50+02:00 vkd3d-shader/hlsl: Allocate temporary registers separately for each entry function.
- - - - - cb55ba5b by Shaun Ren at 2024-10-15T16:42:47+02:00 vkd3d-shader/hlsl: Invoke prepend_uniform_copy() only once for global uniforms.
We store the copy instructions in a separate block that is cloned for each function processed.
- - - - -
4 changed files:
- libs/vkd3d-shader/hlsl.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl_codegen.c - libs/vkd3d-shader/tpf.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/9dd42d15ddca66458042b5e4b7775...