arb_texture_buffer_range: Verify proper texbo range updating

Graphics / Mesa 3D Graphics Library / Piglit - Chris Forbes [ijw.co.nz] - 1 October 2014 00:36 UTC

The existing texbo range test dirties a lot of state -- among other things, it reads back results after exercising each range.

This variant minimizes the state dirtied, and so exposes a bug where updating the bound range of a TexBo doesn't cause enough state to be flagged.

With mesa master, this passes with driconf forcing batchbuffer flush after every draw; fails with normal configuration.

bbd0bf0 arb_texture_buffer_range: Verify proper texbo range updating
tests/all.py | 1 +
.../arb_texture_buffer_range/CMakeLists.gl.txt | 1 +
tests/spec/arb_texture_buffer_range/ranges-2.c | 142 ++++++++++++++++++++
3 files changed, 144 insertions(+)

Upstream: cgit.freedesktop.org


  • Share