[Mesa-dev] [PATCH] i965: Add an INTEL_DEBUG=no16 option.

Eric Anholt eric at anholt.net
Sat Jan 12 13:34:20 PST 2013


Kenneth Graunke <kenneth at whitecape.org> writes:
>     exec_list *simd16_instructions = NULL;
>     fs_visitor v2(brw, c, prog, fp, 16);
> -   if (intel->gen >= 5 && c->prog_data.nr_pull_params == 0) {
> +   bool no16 = INTEL_DEBUG & DEBUG_NO16;
> +   if (intel->gen >= 5 && c->prog_data.nr_pull_params == 0 && unlikely(!no16)) {

Your likeliness check here is backwards.

Other than that,

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130112/085bb6c2/attachment.pgp>


More information about the mesa-dev mailing list