projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb0f87
)
nvc0: remove magic values in nve4_set_tex_handles()
author
Rhys Perry
<pendingchaos02@gmail.com>
Fri, 22 Jun 2018 20:47:43 +0000
(21:47 +0100)
committer
Karol Herbst
<kherbst@redhat.com>
Thu, 28 Jun 2018 16:22:06 +0000
(18:22 +0200)
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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
index 0471fffe835946162231437a1399acce08015af9..e7cd60169e9f331e475789b060be8a3bc1426314 100644
(file)
--- a/
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
+++ b/
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
@@
-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);