[Mesa-dev] [PATCH] i965: Don't check for draw-time errors that cannot occur in core profile

Matt Turner mattst88 at gmail.com
Mon Aug 10 11:48:18 PDT 2015


On Mon, Aug 10, 2015 at 10:12 AM, Ian Romanick <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> On many CPU-limited applications, this is *the* hot path.  The idea is
> to generate per-API versions of brw_draw_prims that elide some checks.
> This patch removes render-mode and "is everything in VBOs" checks from
> core-profile contexts.
>
> On my IVB laptop (which may have experienced thermal throttling):
>
> Gl32Batch7:     3.70955% +/- 1.11344%

I'm getting 3.18414% +/- 0.587956% (n=113) on my IVB, , which probably
matches your numbers depending on your value of n.

> OglBatch7:      1.04398% +/- 0.772788%

I'm getting 1.15377% +/- 1.05898% (n=34) on my IVB, which probably
matches your numbers depending on your value of n.

I'll review soon.


More information about the mesa-dev mailing list