nvc0: remove magic values in nve4_set_tex_handles()

With this commit, things no longer break if NVC0_CB_AUX_TEX_INFO is
changed to anything other than 0x20.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
This commit is contained in:
Rhys Perry 2018-06-22 21:47:43 +01:00 committed by Karol Herbst
parent 6bb0f87c60
commit c92eb71a65
1 changed files with 1 additions and 1 deletions

View File

@ -755,7 +755,7 @@ nve4_set_tex_handles(struct nvc0_context *nvc0)
dirty &= ~(1 << i);
BEGIN_NVC0(push, NVC0_3D(CB_POS), 2);
PUSH_DATA (push, (8 + i) * 4);
PUSH_DATA (push, NVC0_CB_AUX_TEX_INFO(i));
PUSH_DATA (push, nvc0->tex_handles[s][i]);
} while (dirty);