Kenneth Graunke <kenn...@whitecape.org> writes: > In order to implement the GL_PRIMITIVES_GENERATED query in a sane > fashion on our hardware, we can't discard primitives until the clipper. > The patch after next explains the rationale. > > By setting the clipper to REJECT_ALL mode, all primitives get thrown away, > so rendering is still appropriately disabled. > > This may negatively impact performance in the rasterizer discard case, > but it's unclear how much and this hasn't been observed to be a > bottleneck in any application we've looked at. The clipper is the very > next stage in the pipeline, so I don't think it will be terrible.
I'm tempted to drop a perf_debug() in this and the next patch to remind us, if some important app starts doing discard, that we could use the previous rasterizer discard support outside of a GL_PRIMITIVES_GENERATED query.
pgpm9IL5zea2x.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev