mesa: add GLSLVersionCompat constant
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 8 May 2018 00:10:39 +0000 (10:10 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 9 May 2018 04:24:36 +0000 (14:24 +1000)
commit4560aad780b851f855a8adc72ea34ca4eb17634a
tree037809301fbdb831f975b152eec0997119738c8a
parentbe3ee9d141b958d41378fa8fd61255b14f5b6e74
mesa: add GLSLVersionCompat constant

This allows drivers to define what version of GLSL they support
in compat. This will be needed in order to support compat 3.2
without breaking drivers that wont support it.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/drivers/dri/i915/intel_extensions.c
src/mesa/drivers/dri/i965/intel_extensions.c
src/mesa/main/mtypes.h
src/mesa/main/version.c
src/mesa/state_tracker/st_extensions.c