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

Author: Samuel Pitoiset <[email protected]>
Date:   Mon Oct 16 14:15:55 2017 +0200

radv: update ia_multi_vgt when executing secondary buffers

Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>

---

 src/amd/vulkan/radv_cmd_buffer.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 2252d80e11..9d59028bfd 100644
--- a/src/amd/vulkan/radv_cmd_buffer.c
+++ b/src/amd/vulkan/radv_cmd_buffer.c
@@ -2679,6 +2679,11 @@ void radv_CmdExecuteCommands(
                        primary->state.last_primitive_reset_index =
                                secondary->state.last_primitive_reset_index;
                }
+
+               if (secondary->state.last_ia_multi_vgt_param) {
+                       primary->state.last_ia_multi_vgt_param =
+                               secondary->state.last_ia_multi_vgt_param;
+               }
        }
 
        /* After executing commands from secondary buffers we have to dirty

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

Reply via email to