should do that
All checks were successful
eden-license / license-header (pull_request) Successful in 41s
All checks were successful
eden-license / license-header (pull_request) Successful in 41s
This commit is contained in:
parent
5929a7a07f
commit
d532f67863
1 changed files with 2 additions and 3 deletions
|
@ -324,9 +324,8 @@ bool GraphicsPipeline::ConfigureImpl(bool is_indexed) {
|
||||||
size_t ssbo_index{};
|
size_t ssbo_index{};
|
||||||
for (const auto& desc : info.storage_buffers_descriptors) {
|
for (const auto& desc : info.storage_buffers_descriptors) {
|
||||||
ASSERT(desc.count == 1);
|
ASSERT(desc.count == 1);
|
||||||
if (!buffer_cache.BindGraphicsStorageBuffer(stage, ssbo_index, desc.cbuf_index,
|
buffer_cache.BindGraphicsStorageBuffer(stage, ssbo_index, desc.cbuf_index,
|
||||||
desc.cbuf_offset, desc.is_written))
|
desc.cbuf_offset, desc.is_written);
|
||||||
continue;
|
|
||||||
++ssbo_index;
|
++ssbo_index;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue