| 55 | } |
| 56 | |
| 57 | void CommandBuffer::dispatch(uint32_t x, uint32_t y, uint32_t z) const { |
| 58 | if (*this->state != CommandBufferState::Recording) |
| 59 | throw std::logic_error("Command buffer is not in Recording state"); |
| 60 | |
| 61 | vkCmdDispatch(*this->commandBuffer, x, y, z); |
| 62 | } |
| 63 | |
| 64 | void CommandBuffer::end() { |
| 65 | if (*this->state != CommandBufferState::Recording) |
no outgoing calls
no test coverage detected