summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-10-16 14:15:55 +0200
committerSamuel Pitoiset <[email protected]>2017-10-16 14:50:30 +0200
commitf16382d35b3fca1847f5d9c6aabacf7b7c3382b8 (patch)
treeae083d707b727e98b35a10a28d9283b1c6c41b23
parent47d7d1861399563900d1f0ca31b06690f33049a1 (diff)
radv: update ia_multi_vgt when executing secondary buffers
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r--src/amd/vulkan/radv_cmd_buffer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 2252d80e11e..9d59028bfd2 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