diff options
author | Eric Anholt <[email protected]> | 2014-08-12 15:50:53 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-15 12:00:32 -0700 |
commit | ba875b3a0d8119fda030dfdc28cd831d9ca51e08 (patch) | |
tree | ac096ed5aaf92753d9553675075993d4994463d4 /src/gallium/drivers/vc4/vc4_draw.c | |
parent | 64ad96a9f4dec0724d7276d32de59cc621fccb55 (diff) |
vc4: Consume the implicit varyings for points and lines.
We were triggering simulator assertion failures for not consuming these,
and presumably we want to actually make use of them some day (for things
like point/line antialiasing)
Note that this has the qreg index as 0, which is the same index as the
first GL varyings read. This doesn't matter currently, since that number
isn't used for anything except dumping.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_draw.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_draw.c b/src/gallium/drivers/vc4/vc4_draw.c index ec218d379e9..3f19862f5ea 100644 --- a/src/gallium/drivers/vc4/vc4_draw.c +++ b/src/gallium/drivers/vc4/vc4_draw.c @@ -99,7 +99,7 @@ vc4_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info) } vc4_start_draw(vc4); - vc4_update_compiled_shaders(vc4); + vc4_update_compiled_shaders(vc4, info->mode); vc4_emit_state(pctx); |