[Mesa-dev] [PATCH 03/23] i965/fs: Don't hardcode DEBUG_WM in generic fs code.

Eric Anholt eric at anholt.net
Wed May 21 15:43:22 PDT 2014


Matt Turner <mattst88 at gmail.com> writes:

> Similar to Paul's commit e9fa3a944 except brw_fs_generator's debug_flag
> is for DEBUG_WM and DEBUG_BLORP.

> @@ -2160,7 +2162,6 @@ brw_blorp_blit_test_compile(struct brw_context *brw,
>                              FILE *out)
>  {
>     GLuint program_size;
> -   brw_blorp_blit_program prog(brw, key);
> -   INTEL_DEBUG |= DEBUG_BLORP;
> +   brw_blorp_blit_program prog(brw, key, true /* debug_flag */);
>     prog.compile(brw, &program_size, out);
>  }

This function looks like it's dead and could just be removed instead.

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: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140521/09493d88/attachment-0001.sig>


More information about the mesa-dev mailing list