Skip to content

Commit

Permalink
Use device local memory in the transient resource heap base
Browse files Browse the repository at this point in the history
This helps to address shader-slang/slang#5222.
  • Loading branch information
aleino-nv committed Nov 1, 2024
1 parent 180464b commit ec69b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transient-resource-heap-base.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class TransientResourceHeapBaseImpl : public TransientResourceHeap

m_constantBufferPool.init(
device,
MemoryType::Upload,
MemoryType::DeviceLocal,
256,
BufferUsage::ConstantBuffer | BufferUsage::CopySource | BufferUsage::CopyDestination
);
Expand Down

0 comments on commit ec69b86

Please sign in to comment.