Device &device;
std::vector<CommandPool> command_pools;
- CommandPool *current_pool = 0;
+ unsigned frame_index = 0;
VkCommandBuffer primary_buffer = 0;
VkCommandBuffer pass_buffer = 0;
const PipelineState *pipeline_state = 0;
const Framebuffer *framebuffer = 0;
const Rect *viewport = 0;
bool fb_is_swapchain = false;
+ bool discard_fb_contents = false;
std::vector<char> pass_begin_info;
VulkanCommands();