Module: Mesa
Branch: main
Commit: 707cdac7e7a6f22b7a454bcc88b874c7238b5a1e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=707cdac7e7a6f22b7a454bcc88b874c7238b5a1e

Author: Jesse Natalie <[email protected]>
Date:   Thu Nov  9 09:01:39 2023 -0800

d3d12: Fix GS variant I/O slot counts

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26156>

---

 src/gallium/drivers/d3d12/d3d12_gs_variant.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/d3d12/d3d12_gs_variant.cpp 
b/src/gallium/drivers/d3d12/d3d12_gs_variant.cpp
index 719d8e29868..cba1bddb0bd 100644
--- a/src/gallium/drivers/d3d12/d3d12_gs_variant.cpp
+++ b/src/gallium/drivers/d3d12/d3d12_gs_variant.cpp
@@ -148,8 +148,8 @@ struct emit_primitives_context
    nir_builder b;
 
    unsigned num_vars;
-   nir_variable *in[VARYING_SLOT_MAX];
-   nir_variable *out[VARYING_SLOT_MAX];
+   nir_variable *in[VARYING_SLOT_MAX * 4];
+   nir_variable *out[VARYING_SLOT_MAX * 4];
    nir_variable *front_facing_var;
 
    nir_loop *loop;

Reply via email to