On Fri, Feb 20, 2015 at 08:21:25AM +0100, Iago Toral Quiroga wrote: > In gen6 we need to compute the primitive count in the generated GS program. > The current implementation only counts full primitives, that is, if the > output primitive type is a triangle strip, it won't count individual > triangles in the strip, only complete strips. > > If we want to count basic primitives instead we have two options: rework > the assembly code we generate for strip primitives or simply use > CL_INVOCATION_COUNT to resolve the query and let the hardware do that work > for us. This patch implements the latter approach. > > Fixes the following piglit test: > bin/arb_pipeline_statistics_query-geom -auto > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89210 > Tested-by: Mark Janes <mark.a.ja...@intel.com>
Reviewed-by: Ben Widawsky <b...@bwidawsk.net> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev