Re: [Mesa-dev] [RFC 4/6] i965: Implement INTEL_performance_query extension

2015-05-28 Thread Petri Latvala
On 05/06/2015 03:53 AM, Robert Bragg wrote: +static struct brw_perf_query_counter gen7_pipeline_statistics[] = { + + STAT(IA_VERTICES_COUNT, "N vertices submitted"), + STAT(IA_PRIMITIVES_COUNT, "N primitives submitted"), + STAT(VS_INVOCATION_COUNT, "N vertex shader invocations"), + STAT

Re: [Mesa-dev] [RFC 4/6] i965: Implement INTEL_performance_query extension

2015-05-15 Thread Robert Bragg
On Mon, May 11, 2015 at 4:28 PM, Samuel Pitoiset wrote: > > > On 05/06/2015 02:53 AM, Robert Bragg wrote: >> >> This adds a bare-bones backend for the INTEL_performance_query extension >> that exposes the pipeline statistics on gen 6 and 7 hardware. >> >> Although this could be considered redundan

Re: [Mesa-dev] [RFC 4/6] i965: Implement INTEL_performance_query extension

2015-05-11 Thread Samuel Pitoiset
On 05/06/2015 02:53 AM, Robert Bragg wrote: This adds a bare-bones backend for the INTEL_performance_query extension that exposes the pipeline statistics on gen 6 and 7 hardware. Although this could be considered redundant given that the same statistics are now available via query objects, the

[Mesa-dev] [RFC 4/6] i965: Implement INTEL_performance_query extension

2015-05-05 Thread Robert Bragg
This adds a bare-bones backend for the INTEL_performance_query extension that exposes the pipeline statistics on gen 6 and 7 hardware. Although this could be considered redundant given that the same statistics are now available via query objects, they are a simple starting point for this extension