mesa: refuse to update sampler parameters when a handle is allocated
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 22 Feb 2017 22:20:03 +0000 (23:20 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Jun 2017 08:04:36 +0000 (10:04 +0200)
commit67ab372c60cd18d88468aa586ceaf2810da79200
tree5275a31434b13cc8ff6a4ed7475e27a9218abba8
parent326a82a255c1a72376ce2b7f3d878bfff5cb9621
mesa: refuse to update sampler parameters when a handle is allocated

The ARB_bindless_texture spec says:

   "The error INVALID_OPERATION is generated by SamplerParameter* if
    <sampler> identifies a sampler object referenced by one or more
    texture handles."

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/samplerobj.c