should do that
All checks were successful
eden-license / license-header (pull_request) Successful in 41s

This commit is contained in:
Maufeat 2025-07-27 02:19:20 +02:00
parent 5929a7a07f
commit d532f67863

View file

@ -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;
} }
} }