From 62161b802a8efbf6820ba79f880c99e455ab3bf6 Mon Sep 17 00:00:00 2001 From: lucy96chen <47800040+lucy96chen@users.noreply.github.com> Date: Thu, 9 Dec 2021 15:15:16 -0800 Subject: Implement instanced and indirect draw calls (#2053) * Added implementations of drawInstanced, drawIndexedInstanced, drawIndirect, and drawIndexedIndirect to both render-d3d12 and render-vk * drawInstanced test WIP * Draw calls implemented, working on debugging test * Added new test and accompanying shader file * Fixes. * Fixes. Co-authored-by: Yong He Co-authored-by: Yong He --- tools/gfx-unit-test/shared-textures-tests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/gfx-unit-test/shared-textures-tests.cpp') diff --git a/tools/gfx-unit-test/shared-textures-tests.cpp b/tools/gfx-unit-test/shared-textures-tests.cpp index 896d6d6e6..d32a8493e 100644 --- a/tools/gfx-unit-test/shared-textures-tests.cpp +++ b/tools/gfx-unit-test/shared-textures-tests.cpp @@ -184,7 +184,8 @@ namespace gfx_test dstTexture, ResourceState::ShaderResource, texData, - sizeof(texData)); + 32, + 2); auto texView = createTexView(dstDevice, dstTexture); setUpAndRunShader(dstDevice, dstTexture, texView, floatBufferView, "copyTexFloat4"); -- cgit v1.2.3