Skip to content

intel: Early exit from inst_is_in_block().

Emma Anholt requested to merge anholt/mesa:intel-is-in-block into main

Surely the compiler would sort that out, you would think. But no, my debugoptimized build improves dEQP-GLES31.functional.ubo.random.all_per_block_buffers.13 runtime by 25% on my SKL from this change.

This was the slowest test in the GLES31 tests on APL in CI, at 22s. And yes, we were spending around half of our runtime in this function.

Merge request reports