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

Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Jul 28 09:59:53 2022 -0400

nine: set view_mask=0

nine doesn't use viewids, and this breaks drivers that support it

cc: mesa-stable

Reviewed-by: Axel Davy <[email protected]>
Reviewed-by: David Heidelberg <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17792>

---

 src/gallium/frontends/nine/nine_state.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/frontends/nine/nine_state.c 
b/src/gallium/frontends/nine/nine_state.c
index 8916af3ccde..926da8fb82e 100644
--- a/src/gallium/frontends/nine/nine_state.c
+++ b/src/gallium/frontends/nine/nine_state.c
@@ -2372,6 +2372,7 @@ init_draw_info(struct pipe_draw_info *info,
     info->increment_draw_id = FALSE;
     info->was_line_loop = FALSE;
     info->restart_index = 0;
+    info->view_mask = 0;
 }
 
 CSMT_ITEM_NO_WAIT(nine_context_draw_primitive,

Reply via email to