diff options
author | Dave Airlie <[email protected]> | 2012-12-05 06:50:07 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-12-06 14:48:10 +1000 |
commit | 77b26564c3f0395bf3e744abbf6d0e7aa9d2c8da (patch) | |
tree | b592e6ecfdfad109ee33e1de801f144033175ea1 /src/gallium/drivers/llvmpipe/lp_query.h | |
parent | 71f06344a0d72a6bd27750ceca571fc016b8de85 (diff) |
llvmpipe: EXT_transform_feedback support (v1.1)
I'd written most of this ages ago, but never finished it off.
This passes 115/130 piglit tests so far. I'll look into the
others as time permits.
v1.1: fix calloc return check as suggested by Jose.
Reviewed-by: Jose Fonseca <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_query.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_query.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_query.h b/src/gallium/drivers/llvmpipe/lp_query.h index cacbd9d0b8c..19d977fd2e4 100644 --- a/src/gallium/drivers/llvmpipe/lp_query.h +++ b/src/gallium/drivers/llvmpipe/lp_query.h @@ -45,6 +45,8 @@ struct llvmpipe_query { uint64_t count[LP_MAX_THREADS]; /* a counter for each thread */ struct lp_fence *fence; /* fence from last scene this was binned in */ unsigned type; /* PIPE_QUERY_* */ + unsigned num_primitives_generated; + unsigned num_primitives_written; }; |