v3d: Disable PIPE_CAP_PRIMITIVE_RESTART

The hardware can only support the PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX
subset. This will make it stop advertising the NV_primitive_restart
extension without breaking GLES 3.0 support.

v2: Update features.txt

Reviewed-by: Eric Anholt <eric@anholt.net> (v1)
Reviewed by: Erik Faye-Lund <erik.faye-lund@collabora.com>

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5559>
This commit is contained in:
Neil Roberts
2020-06-18 15:53:03 +02:00
committed by Marge Bot
parent 1fc346d2be
commit ffc4d82438
2 changed files with 1 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ GL 3.1, GLSL 1.40 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llv
Forward compatible context support/deprecations DONE
GL_ARB_draw_instanced (Instanced drawing) DONE (v3d, zink)
GL_ARB_copy_buffer (Buffer copying) DONE (v3d, zink)
GL_NV_primitive_restart (Primitive restart) DONE (v3d)
GL_NV_primitive_restart (Primitive restart) DONE ()
16 vertex texture image units DONE (zink)
GL_ARB_texture_buffer_object (Texture buffer objs) DONE (zink)
GL_ARB_texture_rectangle (Rectangular textures) DONE (v3d, zink)

View File

@@ -123,7 +123,6 @@ v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_FRAGMENT_SHADER_TEXTURE_LOD:
case PIPE_CAP_FRAGMENT_SHADER_DERIVATIVES:
case PIPE_CAP_VERTEX_SHADER_SATURATE:
case PIPE_CAP_PRIMITIVE_RESTART:
case PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX:
case PIPE_CAP_OCCLUSION_QUERY:
case PIPE_CAP_POINT_SPRITE: