Module: vkd3d Branch: master Commit: 14295a224d9fe2e487bf3a67f4f2fc5218e1b17c URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/14295a224d9fe2e487bf3a67f4f2fc...
Author: Conor McCarthy cmccarthy@codeweavers.com Date: Tue Apr 4 17:55:05 2023 +1000
vkd3d-shader/ir: Normalise control point phase output registers to include the control point id.
In SPIR-V the address must include the invocation id, but in TPF it is implicit. Move the register index up one slot and insert an OUTPOINTID relative address.
---
libs/vkd3d-shader/ir.c | 101 +++++++++++++++++++++++++++++++ libs/vkd3d-shader/spirv.c | 32 +++------- libs/vkd3d-shader/vkd3d_shader_private.h | 3 + 3 files changed, 111 insertions(+), 25 deletions(-)