Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 549659da by Giovanni Mascellani at 2025-03-18T15:33:27+01:00 vkd3d-shader/spirv: Run the vsir passes before creating the SPIR-V generator.
This makes it more similar to the MSL and GLSL generators. It also looks like a cleaner design, the backend is supposed to get access to the vsir program after it has gone through the pipeline.
- - - - - 5ce03258 by Giovanni Mascellani at 2025-03-18T15:34:04+01:00 vkd3d-shader/spirv: Immediately store a reference to the program in the SPIR-V generator.
So it doesn't have to be passed around uselessly.
- - - - - fc520e7b by Giovanni Mascellani at 2025-03-18T15:34:16+01:00 vkd3d-shader/spirv: Do not store duplicate references to the signatures.
They are already available through the program.
- - - - - 4308fa3f by Giovanni Mascellani at 2025-03-18T15:37:57+01:00 vkd3d-shader/spirv: Do not steal the instruction array from the vsir program.
There is no need, and it only complicates tracking ownership.
- - - - - 2377db33 by Giovanni Mascellani at 2025-03-18T15:38:01+01:00 vkd3d-shader: Represent descriptor information in the vsir program.
- - - - -
6 changed files:
- libs/vkd3d-shader/glsl.c - libs/vkd3d-shader/ir.c - libs/vkd3d-shader/msl.c - libs/vkd3d-shader/spirv.c - libs/vkd3d-shader/vkd3d_shader_main.c - libs/vkd3d-shader/vkd3d_shader_private.h
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/ea99d2c2cd1016018a03fc90522d7...