Skip to content

Commit 4d3ef0d

Browse files
committed
call UseResource
1 parent 9225576 commit 4d3ef0d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

09-BindlessTexturing/bindlesstexturing.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,9 @@ struct BindlessTexturing : public ExampleFramework {
242242
auto heapStart = device->GetGlobalBindlessTextureHeap();
243243

244244
commandBuffer->BindRenderPipeline(renderPipeline);
245+
commandBuffer->UseResource(tx1->GetDefaultView());
246+
commandBuffer->UseResource(tx2->GetDefaultView());
247+
commandBuffer->UseResource(tx3->GetDefaultView());
245248
commandBuffer->SetVertexBytes(ubo, 0);
246249
commandBuffer->SetVertexBuffer(vertexBuffer);
247250
commandBuffer->SetIndexBuffer(indexBuffer);

0 commit comments

Comments
 (0)