mesa: Add PrimitiveRestartFixedIndex to gl_constants

Graphics / Mesa 3D Graphics Library / Mesa - Neil Roberts [igalia.com] - 22 June 2020 12:41 UTC

This is a fine-grained subset of the NV_primitive_restart extension that only uses the fixed indices provided by GLES 3.0. There’s no public extension to advertise this behaviour so the bool is added to gl_constants instead of gl_extensions.

1fc346d2bec mesa: Add PrimitiveRestartFixedIndex to gl_constants
src/mesa/drivers/dri/i965/intel_extensions.c | 2 ++
src/mesa/main/mtypes.h | 7 +++++++
src/mesa/main/version.c | 3 ++-
src/mesa/state_tracker/st_extensions.c | 6 +++++-
4 files changed, 16 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share