mesa: add new max sample count state
authorChris Forbes <chrisf@ijw.co.nz>
Fri, 30 Nov 2012 08:19:08 +0000 (21:19 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Fri, 1 Mar 2013 22:34:58 +0000 (11:34 +1300)
commitdb5d5c30a603cb988dab8ed03cb99b68149826a8
tree35e80502a58ba0f5b0781545ba5204cdc6a8e265
parentffb53b4f0384fc811372644ce35471c0711eef9e
mesa: add new max sample count state

- GL_MAX_COLOR_TEXTURE_SAMPLES
- GL_MAX_DEPTH_TEXTURE_SAMPLES
- GL_MAX_INTEGER_SAMPLES

V2: initialize limits to 1 in _mesa_init_constants as suggested by Brian
and Paul

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/context.c
src/mesa/main/get_hash_params.py
src/mesa/main/mtypes.h