From 2cb9d40f889b0c79c0b61cb210939a841a5edbb3 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 26 Feb 2025 12:57:35 +0100 Subject: [PATCH] [dxvk] Add input topology field to shader info --- src/dxvk/dxvk_shader.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dxvk/dxvk_shader.h b/src/dxvk/dxvk_shader.h index b44979e8f..efc64ab9a 100644 --- a/src/dxvk/dxvk_shader.h +++ b/src/dxvk/dxvk_shader.h @@ -60,6 +60,8 @@ namespace dxvk { uint32_t patchVertexCount = 0; /// Transform feedback vertex strides uint32_t xfbStrides[MaxNumXfbBuffers] = { }; + /// Input primitive topology for geometry shaders + VkPrimitiveTopology inputTopology = VK_PRIMITIVE_TOPOLOGY_MAX_ENUM; /// Output primitive topology VkPrimitiveTopology outputTopology = VK_PRIMITIVE_TOPOLOGY_MAX_ENUM; };