[Piglit] [Mesa-dev] [RFC PATCH] arb_texture_barrier: call glTextureBarrier after each glDrawRangeElements

Alejandro Piñeiro apinheiro at igalia.com
Fri Jun 24 18:56:49 UTC 2016

On 24/06/16 17:15, Ilia Mirkin wrote:
> On Fri, Jun 24, 2016 at 10:42 AM, Alejandro Piñeiro
> <apinheiro at igalia.com> wrote:
>> On 24/06/16 12:17, Nicolai Hähnle wrote:
>>> Hi Alejandro,
>> Hi, thanks for the quick answer, more comments below.
>>> my understanding of the spec is that the test should be correct as
>>> originally written, i.e. with glTextureBarrier only between full
>>> rectangle draws.
>>> FWIW, radeonsi passes the test as-is
>> So on radeon-si all the 48 subtests (parameter combination of the base
>> test) passes correctly?
>>> (though I reduced the GLSL version requirement, which I'd ask you to
>>> change as well before you push the test).
>> It is ok to reduce the GLSL requirement from 440 to 400? If not I would
>> need to change the loop on the shader.
> Why not just use 330 so that it can run on all Intel GPUs? You just
> need GL_ARB_gpu_shader5 right (for "indirect" texture access)? That's
> supported on IVB+, and does not require fp64 support.

Sounds good, thanks for the suggestion. Just sent a v2 patch to the
piglit list downgrading the GLSL version need. Having said so, my
question about the spec is still in the air, although after Nicolai
feedback, it seems that the problem is on mesa for Intel drivers. Next
Monday will try to run the test with other drivers and cards, with and
without the patch.


More information about the Piglit mailing list