nvc0: no tex cb mthd on ga10x

I somewhat expect this isn't necessary on Volta and newer too, as the
index is coded into shaders now, but, HW doesn't complain, so leave it.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Acked-by: M Henning <drawoc@darkrefraction.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17633>
This commit is contained in:
Ben Skeggs 2021-11-04 10:27:12 +10:00 committed by Marge Bot
parent 25d4db0600
commit 56dbf443a8

View file

@ -1290,7 +1290,7 @@ nvc0_screen_create(struct nouveau_device *dev)
PUSH_DATA (push, NVC0_3D_SHADE_MODEL_SMOOTH);
if (screen->eng3d->oclass < NVE4_3D_CLASS) {
IMMED_NVC0(push, NVC0_3D(TEX_MISC), 0);
} else {
} else if (screen->eng3d->oclass < GA102_3D_CLASS) {
BEGIN_NVC0(push, NVE4_3D(TEX_CB_INDEX), 1);
PUSH_DATA (push, 15);
}