|
|
@ -33,10 +33,10 @@ void record_hex_draw(VkCommandBuffer command_buffer, HexContext* hex, double tim
|
|
|
|
vkCmdDraw(command_buffer, 18, REGION_HEX_COUNT*MAX_LOADED_REGIONS, 0, 0);
|
|
|
|
vkCmdDraw(command_buffer, 18, REGION_HEX_COUNT*MAX_LOADED_REGIONS, 0, 0);
|
|
|
|
|
|
|
|
|
|
|
|
vkCmdBindPipeline(command_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS, hex->point_pipeline.pipeline);
|
|
|
|
vkCmdBindPipeline(command_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS, hex->point_pipeline.pipeline);
|
|
|
|
vkCmdDraw(command_buffer, 6, 2, 0, 0);
|
|
|
|
vkCmdDraw(command_buffer, 1, 2, 0, 0);
|
|
|
|
|
|
|
|
|
|
|
|
vkCmdBindPipeline(command_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS, hex->highlight_pipeline.pipeline);
|
|
|
|
vkCmdBindPipeline(command_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS, hex->highlight_pipeline.pipeline);
|
|
|
|
vkCmdDraw(command_buffer, 1, 2, 0, 0);
|
|
|
|
vkCmdDraw(command_buffer, 18, 2, 0, 0);
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef DRAW_HEX_RAYS
|
|
|
|
#ifdef DRAW_HEX_RAYS
|
|
|
|
vkCmdBindPipeline(command_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS, hex->ray_pipeline.pipeline);
|
|
|
|
vkCmdBindPipeline(command_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS, hex->ray_pipeline.pipeline);
|
|
|
|