nvc0: set sampler index mode to independently on gv100 compute
authorKarol Herbst <kherbst@redhat.com>
Sun, 12 Jul 2020 22:13:54 +0000 (00:13 +0200)
committerKarol Herbst <kherbst@redhat.com>
Mon, 13 Jul 2020 01:26:46 +0000 (03:26 +0200)
commitac002b15d3a77b9b16ce068e7ed9c314808eab82
tree1ebe48bfa8f10af94174fcba57ac030acdd97acb
parent55776a0ae0660d730293f11b435dc055753774fd
nvc0: set sampler index mode to independently on gv100 compute

We don't use linked texture/samplers. Fixes a bunch of CTS issues which
also seem to fail a bit randomly depending on what tests ran before and
such, so the list is incomplete.

Fixes:
KHR-GL46.texture_gather.*
KHR-GL46.compute_shader.resource-texture
KHR-GL46.multi_bind.dispatch_bind_samplers
KHR-GL46.multi_bind.dispatch_bind_textures
KHR-GL46.shading_language_420pack.binding_sampler_array
KHR-GL46.shading_language_420pack.binding_sampler_single
KHR-GL46.shading_language_420pack.binding_samplers
KHR-GL46.stencil_texturing.functional
KHR-GL46.texture_gather.incomplete-texture-last-comp

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5874>
src/gallium/drivers/nouveau/nvc0/nve4_compute.c