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

Author: Faith Ekstrand <[email protected]>
Date:   Mon Aug 21 19:16:07 2023 -0500

nir: Return a mesa_prim from gs_in_prim_for_topology

Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24821>

---

 src/compiler/nir/nir_passthrough_gs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/nir/nir_passthrough_gs.c 
b/src/compiler/nir/nir_passthrough_gs.c
index e6503c2ab73..e0c5cf03d4d 100644
--- a/src/compiler/nir/nir_passthrough_gs.c
+++ b/src/compiler/nir/nir_passthrough_gs.c
@@ -26,7 +26,7 @@
 #include "nir_builder.h"
 #include "nir_xfb_info.h"
 
-static unsigned int
+static enum mesa_prim
 gs_in_prim_for_topology(enum mesa_prim prim)
 {
    switch (prim) {

Reply via email to