blade: enforce alignment in the belt
This commit is contained in:
parent
c5ff46e14f
commit
d6bbcf503b
3 changed files with 16 additions and 9 deletions
|
@ -251,6 +251,7 @@ impl BladeRenderer {
|
|||
let instance_belt = BladeBelt::new(BladeBeltDescriptor {
|
||||
memory: gpu::Memory::Shared,
|
||||
min_chunk_size: 0x1000,
|
||||
alignment: 0x100, // required by DX12
|
||||
});
|
||||
let atlas = Arc::new(BladeAtlas::new(&gpu));
|
||||
let atlas_sampler = gpu.create_sampler(gpu::SamplerDesc {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue