mesa: add support for GL_EXT_polygon_offset_clamp
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 31 Dec 2014 07:07:55 +0000 (02:07 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 3 Feb 2015 01:35:36 +0000 (20:35 -0500)
commit81998dda637cea18b1ec035e178dd829ce7e8645
tree7e22f7020133c394922ec09b606b96a54315a72a
parent83321009dede4dc70aae14c4e5ef48973208f931
mesa: add support for GL_EXT_polygon_offset_clamp

Nothing enables the extension yet, but the values are now available.
The spec calls for it to only be exposed for GL 3.3+, which is core-only
in mesa. Instead we allow any driver to enable it, including in a compat
context for any GL version.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
12 files changed:
src/mesa/drivers/dri/nouveau/nouveau_state.c
src/mesa/drivers/dri/r200/r200_state.c
src/mesa/drivers/dri/radeon/radeon_state.c
src/mesa/main/attrib.c
src/mesa/main/dd.h
src/mesa/main/dlist.c
src/mesa/main/extensions.c
src/mesa/main/get.c
src/mesa/main/get_hash_params.py
src/mesa/main/mtypes.h
src/mesa/main/polygon.c
src/mesa/main/polygon.h