summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
37076ae)
Shouldn't matter much, but it makes more sense here
end_render_pass();
pipeline_state = ps;
end_render_pass();
pipeline_state = ps;
- if(pipeline_state)
- pipeline_state->refresh();
}
void VulkanCommands::clear(const ClearValue *values)
}
void VulkanCommands::clear(const ClearValue *values)
if(!framebuffer)
begin_render_pass(false, 0);
if(!framebuffer)
begin_render_pass(false, 0);
+ pipeline_state->refresh();
pipeline_state->apply(current_buffer);
unsigned first_index = batch.get_offset()/batch.get_index_size();
vk.CmdDrawIndexed(current_buffer, batch.size(), count, first_index, 0, 0);
pipeline_state->apply(current_buffer);
unsigned first_index = batch.get_offset()/batch.get_index_size();
vk.CmdDrawIndexed(current_buffer, batch.size(), count, first_index, 0, 0);