diff options
author | Eric Anholt <[email protected]> | 2017-10-20 12:32:36 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-10-20 15:59:41 -0700 |
commit | 0e6fee7328c7faf298916f419dea7ec78ec49e9e (patch) | |
tree | 3c4205958877099f806c5bcdfbb5fd94762438b1 /src/gallium/drivers | |
parent | 34690536a7fb792492fdedc9377a298827b8c1b7 (diff) |
broadcom/vc5: Fix pasteo that broke vertex texturing.
We weren't ever filling in the texture state record, so we'd dereference
NULL from the shader.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_emit.c b/src/gallium/drivers/vc5/vc5_emit.c index 9b82ff9071b..3cb44feff9f 100644 --- 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->fragtex); + emit_textures(vc5, &vc5->verttex); if (vc5->dirty & VC5_DIRTY_FLAT_SHADE_FLAGS) { /* XXX: Need to handle more than 24 entries. */ |