Skip to content

Commit c3d2231

Browse files
authored
Add missing call to vkCmdSetPrimitiveRestartEnableEXT in sample exended_dynamic_state2 (#1433)
1 parent b2e3694 commit c3d2231

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/extensions/extended_dynamic_state2/extended_dynamic_state2.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ void ExtendedDynamicState2::build_command_buffers()
505505

506506
/* Change topology to patch list and setting patch control points value */
507507
vkCmdSetPrimitiveTopologyEXT(draw_cmd_buffer, VK_PRIMITIVE_TOPOLOGY_PATCH_LIST);
508+
vkCmdSetPrimitiveRestartEnableEXT(draw_cmd_buffer, VK_FALSE);
508509
vkCmdSetPatchControlPointsEXT(draw_cmd_buffer, patch_control_points_triangle);
509510

510511
/* Drawing scene with objects using tessellation feature */

0 commit comments

Comments
 (0)