v3d: Enable PIPE_CAP_PRIMITIVE_RESTART
authorJose Maria Casanova Crespo <jmcasanova@igalia.com>
Tue, 31 Aug 2021 16:43:47 +0000 (18:43 +0200)
committerJose Maria Casanova Crespo <jmcasanova@igalia.com>
Fri, 3 Sep 2021 07:24:23 +0000 (09:24 +0200)
commit8bee5d3c11a8a60cb28fd7c185d57868eb39456a
tree7979fa3529c11c471bdc1005342e81da682d2bae
parentdeb55340ca55a712c97886d21b405a53b33046bb
v3d: Enable PIPE_CAP_PRIMITIVE_RESTART

We disabled PIPE_CAP_PRIMITIVE_RESTART on ffc4d82438d98 ("v3d: Disable
PIPE_CAP_PRIMITIVE_RESTART") because the HW can only support
PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX subset.

But the introduction of PIPE_CAP_EMULATE_NONFIXED_PRIMITIVE_RESTART
allows us to support these nonfixed primitive restarts so we can now
re-enable NV_primitive_restart for OpenGL extensions.

Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12669>
docs/features.txt
src/gallium/drivers/v3d/v3d_screen.c