OSDN Git Service

mesa: Enable simultaneous queries on different streams.
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 10 Jun 2014 11:50:32 +0000 (13:50 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 30 Jun 2014 06:08:50 +0000 (08:08 +0200)
commit0b84fa2c52cbaff5963b7d7aa4f27c316fe0a89c
tree85ac9f435da67e4cf7dd1bd3d93b3418244e059f
parent3178d2474ae5bdd1102fb3d76a60d1d63c961ff5
mesa: Enable simultaneous queries on different streams.

It should be possible to query the number of primitives written to each
individual stream by a geometry shader in a single draw call. For that
we need to have up to MAX_VERTEX_STREAM separate query objects.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/mtypes.h
src/mesa/main/queryobj.c