mesa/main: refactor sampler parameter error codepath
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 24 Feb 2017 11:42:46 +0000 (12:42 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 27 Feb 2017 18:42:23 +0000 (19:42 +0100)
commitec623f77ebfd4ab1effeef82504db406df321659
treed807597f9de2dbd60392eafc76566a1445e2403f
parente69fd0b43cbbfa814a6af8268c5edec64387520a
mesa/main: refactor sampler parameter error codepath

This is similar to what we do in the texture error codepath.
While we are at it, update the specification comment with
latest GL 4.5 spec.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/samplerobj.c