- mCallStack.PushCall("BindPushConstants", "");
-}
-
-void TestGraphicsCommandBuffer::BindIndexBuffer(const Graphics::Buffer& buffer,
- uint32_t offset,
- Graphics::Format format)
-{
- mIndexBufferBinding.buffer = &buffer;
- mIndexBufferBinding.offset = offset;
- mIndexBufferBinding.format = format;
- mCallStack.PushCall("BindIndexBuffer", "");
-}
-
-void TestGraphicsCommandBuffer::BeginRenderPass(
- Graphics::RenderPass& renderPass,
- Graphics::RenderTarget& renderTarget,
- Graphics::Extent2D renderArea,
- std::vector<Graphics::ClearValue> clearValues)
-{
- mCallStack.PushCall("BeginRenderPass", "");
-}
-
-void TestGraphicsCommandBuffer::EndRenderPass()
-{
- mCallStack.PushCall("EndRenderPass", "");
-}
-
-void TestGraphicsCommandBuffer::Draw(
- uint32_t vertexCount,
- uint32_t instanceCount,
- uint32_t firstVertex,
- uint32_t firstInstance)
-{
- drawCommand.drawType = Draw::DrawType::Unindexed;
- drawCommand.u.unindexedDraw.vertexCount = vertexCount;
- drawCommand.u.unindexedDraw.instanceCount = instanceCount;
- drawCommand.u.unindexedDraw.firstVertex = firstVertex;
- drawCommand.u.unindexedDraw.firstInstance = firstInstance;
- mCallStack.PushCall("Draw", "");
-}
-
-void TestGraphicsCommandBuffer::DrawIndexed(
- uint32_t indexCount,
- uint32_t instanceCount,
- uint32_t firstIndex,
- int32_t vertexOffset,
- uint32_t firstInstance)
-{
- drawCommand.drawType = TestGraphicsCommandBuffer::Draw::DrawType::Indexed;
- drawCommand.u.indexedDraw.indexCount = indexCount;
- drawCommand.u.indexedDraw.instanceCount = instanceCount;
- drawCommand.u.indexedDraw.firstIndex = firstIndex;
- drawCommand.u.indexedDraw.vertexOffset = vertexOffset;
- drawCommand.u.indexedDraw.firstInstance = firstInstance;
- mCallStack.PushCall("DrawIndexed", "");
-}
-
-void TestGraphicsCommandBuffer::DrawIndexedIndirect(
- Graphics::Buffer& buffer,
- uint32_t offset,
- uint32_t drawCount,
- uint32_t stride)
-{
- mCallStack.PushCall("DrawIndexedIndirect", "");
-}
-
-void TestGraphicsCommandBuffer::Reset(Graphics::CommandBuffer& commandBuffer)
-{
- mCallStack.PushCall("Reset", "");
-}
-
-void TestGraphicsCommandBuffer::SetScissor(Graphics::Extent2D value)
-{
- mCallStack.PushCall("SetScissor", "");
-}
-
-void TestGraphicsCommandBuffer::SetScissorTestEnable(bool value)
-{
- mCallStack.PushCall("SetScissorTestEnable", "");