mesa: Change an error code in glSamplerParameterI[iu]v().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Apr 2016 22:23:47 +0000 (15:23 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 13 Apr 2016 03:30:32 +0000 (20:30 -0700)
commitd1c89f60050fa5acd0bd1faa993de902631482a0
treede088da210980c36f0ca4ac6e8714d5cfe8b0b6f
parent46bfcd61f5ca81fc7e19f0d74ee9fa70f16e9df7
mesa: Change an error code in glSamplerParameterI[iu]v().

This is supposed to be INVALID_OPERATION in ES.  We already did this
for the fv/iv variants, but not Iiv/Iuv, which are new in ES 3.2 (or
extensions).

Fixes:
ES31-CTS.texture_border_clamp.samplerparameteri_non_gen_sampler_error

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/samplerobj.c