mesa/sampler: fix error codes for sampler parameters.
authorDave Airlie <airlied@redhat.com>
Wed, 1 Jun 2016 06:35:59 +0000 (16:35 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 1 Jun 2016 07:01:19 +0000 (17:01 +1000)
commit6400144041da541e81d88679f5535f04ccabbbc4
treefbe3c848fd50848bcda04de7b277d1ee3c3fb44f
parent0ebf4257a385972be0b6e851383ee6b728515aad
mesa/sampler: fix error codes for sampler parameters.

The initial ARB_sampler_objects spec had GL_INVALID_VALUE in it,
however version 8 of it fixed this, and the GL specs also have
the fixed value in them.

Fixes:
GL45-CTS.texture_border_clamp.samplerparameteri_non_gen_sampler_error

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "12.0 11.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/samplerobj.c