nvc0: remove magic values in nve4_set_tex_handles()
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 22 Jun 2018 20:47:43 +0000 (21:47 +0100)
committerKarol Herbst <kherbst@redhat.com>
Thu, 28 Jun 2018 16:22:06 +0000 (18:22 +0200)
commitc92eb71a65be5e4f71ace2f9d47549645ab49dad
treeee198d97e39f6e97768d2b60a546233a03a2b8f6
parent6bb0f87c6003e1d80aa79f6a591620aecc7b031d
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>
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c