Module: vkd3d Branch: master Commit: eabdccb117f8bb08ea03289a21049ae04aa18adf URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/eabdccb117f8bb08ea03289a21049a...
Author: Conor McCarthy cmccarthy@codeweavers.com Date: Wed Mar 1 11:59:28 2023 +1000
vkd3d-shader/ir: Merge all shader IR fork and join phases into a single phase.
Normalise the incoming vkd3d_shader_instruction IR to the shader model 6 pattern. This allows generation of a single patch constant function in SPIR-V.
---
Makefile.am | 1 + libs/vkd3d-shader/ir.c | 264 +++++++++++++++++++++++++++++++ libs/vkd3d-shader/spirv.c | 148 +++++------------ libs/vkd3d-shader/vkd3d_shader_main.c | 78 +++++++++ libs/vkd3d-shader/vkd3d_shader_private.h | 19 +++ 5 files changed, 405 insertions(+), 105 deletions(-)