vrend: do not overwrite a sampler-object that might be in use
When we set the srgb-decode state, we might overwrite another incompatible usage of the same sampler object.
To avoid this, create two sampler-objects, one for the decode-state and one for the skip-decode state.
This fixes the following dEQP-tests on GLES:
- dEQP-GLES31.functional.srgb_texture_decode.skip_decode.srgba8.conversion_gpu
- dEQP-GLES31.functional.srgb_texture_decode.skip_decode.srgba8.toggled
- dEQP-GLES31.functional.srgb_texture_decode.skip_decode.srgba8.multiple_textures
Signed-off-by: Erik Faye-Lund erik.faye-lund@collabora.com