summaryrefslogtreecommitdiffstats
path: root/doxygen
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2014-06-17 13:45:18 +0200
committerIago Toral Quiroga <[email protected]>2014-06-30 08:08:50 +0200
commit3178d2474ae5bdd1102fb3d76a60d1d63c961ff5 (patch)
tree1d0ae7109ebf0a1603a763cfea133ce99f98db39 /doxygen
parenta374685f092cbe57aae89e6977b8bdde0c8ec623 (diff)
i965: Implement GL_PRIMITIVES_GENERATED with non-zero streams.
So far we have been using CL_INVOCATION_COUNT to resolve this query but this is no good with streams, as only stream 0 reaches the clipping stage. Instead we will use SO_PRIM_STORAGE_NEEDED which can keep track of the primitives sent to each individual stream. Since SO_PRIM_STORAGE_NEEDED is related to the SOL stage and according to ARB_transform_feedback3 we need to be able to query primitives generated in each stream whether transform feedback is active or not what we do is to enable the SOL unit even if transform feedback is not active but disable all output buffers in that case. This effectively disables transform feedback but permits activation of statistics enabling SO_PRIM_STORAGE_NEEDED even when transform feedback is not active. Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions