Conor McCarthy : vkd3d-shader/ir: Insert hull shader control point input declarations if no control point phase is defined.
Module: vkd3d Branch: master Commit: 98b5e2c6e01199d714d18fccfe54826a680aecbf URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/98b5e2c6e01199d714d18fccfe5482... Author: Conor McCarthy <cmccarthy(a)codeweavers.com> Date: Tue Apr 4 17:28:48 2023 +1000 vkd3d-shader/ir: Insert hull shader control point input declarations if no control point phase is defined. The SPIR-V backend will emit a default control point phase. Inserting inputs into the IR allows handling of declarations via the usual path instead of an ad hoc implementation which may not match later changes to input handling. --- libs/vkd3d-shader/ir.c | 86 ++++++++++++++- libs/vkd3d-shader/spirv.c | 178 +++---------------------------- libs/vkd3d-shader/vkd3d_shader_private.h | 11 +- 3 files changed, 112 insertions(+), 163 deletions(-)
participants (1)
-
Alexandre Julliard