summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_fs.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2013-08-23 23:08:43 +0200
committerRoland Scheidegger <sroland@vmware.com>2013-08-27 16:59:39 +0200
commitbd3909f265908e30ef0e569fab57e9a042750b3a (patch)
treec98086d22693a9eab4900a7df27046573b831e0e /src/gallium/auxiliary/draw/draw_fs.c
parentaff2ecf09a92eb79eef560f17d77badf69782e7c (diff)
downloadexternal_mesa3d-bd3909f265908e30ef0e569fab57e9a042750b3a.zip
external_mesa3d-bd3909f265908e30ef0e569fab57e9a042750b3a.tar.gz
external_mesa3d-bd3909f265908e30ef0e569fab57e9a042750b3a.tar.bz2
draw: clean up setting stream out information a bit
In particular noone is interested in the vertex count, so drop that, and also drop the duplicated num_primitives_generated / so.primitives_storage_needed variables in drivers. I am unable for now to figure out if primitives_storage_needed in SO stats (used for d3d10) should increase if SO is disabled, though the equivalent num_primitives_generated used for OpenGL definitely should increase. In any case we were only counting when SO is active both in softpipe and llvmpipe anyway so don't pretend there's an independent num_primitives_generated counter which would count always. (This means the PIPE_QUERY_PRIMITIVES_GENERATED count will still be wrong just as before, should eventually fix this by doing either separate counting for this query or adjust the code so it always counts this even if SO is inactive depending on what's correct for d3d10.) Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_fs.c')
0 files changed, 0 insertions, 0 deletions