Files
test/source/blender/gpu/vulkan
Miguel Pozo 5d132ac0c6 GPU: Optimize OpenGL indirect drawing overhead
`GLBatch::draw_indirect` has additional overhead compared to
`GLBatch::draw`, and can become a bottleneck in scenes that require
many draw calls (ie. with too many unique meshes).

The performance difference is almost exclusively caused by the
`GL_COMMAND_BARRIER_BIT` barrier that happens on every call.

This PR adds a `GPU_storagebuf_sync_as_indirect_buffer` function that
can be used to place the barrier only once after filling the indirect
buffer content.
This function is a no-op in Vulkan and Metal since they don't need the
barrier.

Pull Request: https://projects.blender.org/blender/blender/pulls/117561
2024-02-01 17:26:08 +01:00
..
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2023-11-24 15:23:46 +01:00
2023-11-20 14:08:19 +01:00
2023-10-14 13:53:00 +11:00
2023-09-19 11:52:59 +02:00
2023-11-24 13:28:09 +01:00
2024-01-11 11:41:35 +01:00
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2024-01-01 00:43:09 +13:00
2024-01-01 00:43:09 +13:00
2024-01-12 14:28:50 +01:00
2024-01-12 14:28:50 +01:00
2023-11-14 11:12:19 +01:00
2023-11-27 09:30:52 +11:00