On 20.10.2016 11:41, Marek Olšák wrote:
I think st_indirect_draw_vbo needs the same fix.

Yes. The indirect path also doesn't handle the RestartFixedIndex case correctly. I'll send out a patch later that unifies those two paths.

Nicolai


Marek

On Wed, Oct 19, 2016 at 11:14 PM, Marek Olšák <[email protected]> wrote:
On Wed, Oct 19, 2016 at 8:39 PM, Nicolai Hähnle <[email protected]> wrote:
From: Nicolai Hähnle <[email protected]>

Even when enabled, primitive restart has no effect when the restart index
is larger than the representable values in the index buffer.

Fixes GL45-CTS.gtf31.GL3Tests.primitive_restart.primitive_restart_upconvert
for radeonsi.

BTW, this fails on VI, but passes on CIK. The reason is that the hw
team changed the behavior and now it masks out the unused bits I
think. VI is and will be the only generation where it's different and
not configurable.

Reviewed-by: Marek Olšák <[email protected]>

Marek
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to