projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3469053
)
broadcom/vc5: Fix pasteo that broke vertex texturing.
author
Eric Anholt
<eric@anholt.net>
Fri, 20 Oct 2017 19:32:36 +0000
(12:32 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 20 Oct 2017 22:59:41 +0000
(15:59 -0700)
We weren't ever filling in the texture state record, so we'd dereference
NULL from the shader.
src/gallium/drivers/vc5/vc5_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/vc5_emit.c
b/src/gallium/drivers/vc5/vc5_emit.c
index 9b82ff9071bd8d433fbd51e82d654c6c5ab344e0..3cb44feff9f9551d6e2b039c61c015bd10934ff1 100644
(file)
--- a/
src/gallium/drivers/vc5/vc5_emit.c
+++ b/
src/gallium/drivers/vc5/vc5_emit.c
@@
-408,7
+408,7
@@
vc5_emit_state(struct pipe_context *pctx)
emit_textures(vc5, &vc5->fragtex);
if (vc5->dirty & VC5_DIRTY_VERTTEX)
- emit_textures(vc5, &vc5->
frag
tex);
+ emit_textures(vc5, &vc5->
vert
tex);
if (vc5->dirty & VC5_DIRTY_FLAT_SHADE_FLAGS) {
/* XXX: Need to handle more than 24 entries. */