Module: Mesa
Branch: staging/20.0
Commit: fb341213fabe571a0878f78b1d53dcafd30e2e4f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb341213fabe571a0878f78b1d53dcafd30e2e4f

Author: Rhys Perry <[email protected]>
Date:   Fri Mar 13 19:31:03 2020 +0000

nir/gather_info: handle emit_vertex_with_counter

Signed-off-by: Rhys Perry <[email protected]>
Reviewed-By: Timur Kristóf <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
CC: <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4193>
(cherry picked from commit 5193688e1ac696928109ade1b0eb901a91607436)

---

 .pick_status.json                  | 2 +-
 src/compiler/nir/nir_gather_info.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.pick_status.json b/.pick_status.json
index de648b8c7f2..6c2608ca790 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -13,7 +13,7 @@
         "description": "nir/gather_info: handle emit_vertex_with_counter",
         "nominated": true,
         "nomination_type": 0,
-        "resolution": 0,
+        "resolution": 1,
         "master_sha": null,
         "because_sha": null
     },
diff --git a/src/compiler/nir/nir_gather_info.c 
b/src/compiler/nir/nir_gather_info.c
index 0a89c4b9b44..b77d6381bd1 100644
--- a/src/compiler/nir/nir_gather_info.c
+++ b/src/compiler/nir/nir_gather_info.c
@@ -281,6 +281,7 @@ gather_intrinsic_info(nir_intrinsic_instr *instr, 
nir_shader *shader,
       /* fall through */
 
    case nir_intrinsic_emit_vertex:
+   case nir_intrinsic_emit_vertex_with_counter:
       if (nir_intrinsic_stream_id(instr) > 0)
          shader->info.gs.uses_streams = true;
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to