Avokadoen / zig_vulkan

Toying with vulkan and zig
45 stars 1 forks source link

benchmark removing brick index buffer and use bricks buffer instead #140

Open Avokadoen opened 2 years ago

Avokadoen commented 2 years ago

Seems like accessing brick index evicts cache anyways so the only pro of the brick index buffer is that it can potentially save memory by avoiding allocating the full brick grid.

If there is performance gain in using the bricks directly then we should do that instead because the major bottleneck currently is fps, not memory usage.