aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup_vbuf.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2020-01-23 15:48:46 +1000
committerMarge Bot <[email protected]>2020-02-07 00:54:42 +0000
commit9d70002744ca121bff51dd40bfa76b633320652c (patch)
tree8e902dcf1574ce8d5f2b647575d33391ce206a8f /src/gallium/drivers/llvmpipe/lp_setup_vbuf.c
parent658eb691fc4266cfcb6d2a7eec17469f5eae10b5 (diff)
llvmpipe/query: add support for indexed queries
This adds support for the queries needed for gpu_shader5 vertex streams Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3530>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_vbuf.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_vbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_vbuf.c b/src/gallium/drivers/llvmpipe/lp_setup_vbuf.c
index 5dd318329e0..a400d79fb87 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_vbuf.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup_vbuf.c
@@ -549,8 +549,8 @@ lp_setup_so_info(struct vbuf_render *vbr, uint stream, uint primitives, uint pri
struct lp_setup_context *setup = lp_setup_context(vbr);
struct llvmpipe_context *lp = llvmpipe_context(setup->pipe);
- lp->so_stats.num_primitives_written += primitives;
- lp->so_stats.primitives_storage_needed += prim_generated;
+ lp->so_stats[stream].num_primitives_written += primitives;
+ lp->so_stats[stream].primitives_storage_needed += prim_generated;
}
static void