[Mesa-dev] [PATCH] i965/fs: Fix segfault when using INTEL_DEBUG=perf with non-GLSL.

Eric Anholt eric at anholt.net
Tue Oct 16 11:58:05 PDT 2012


Kenneth Graunke <kenneth at whitecape.org> writes:

> Now that ARB programs and fixed function are routed through the new
> backend, shader might be NULL.  Don't do INTEL_DEBUG=perf support in
> that case, since it relies on shader->compiled_once.
>
> Since INTEL_DEBUG=perf wasn't previously supported, this maintains the
> status quo.  It might be nice to support it someday, however.
>
> This could be moved to brw_shader_program instead of brw_shader, but
> it appears even prog can be NULL in that case.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

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/20121016/c0472ca0/attachment.pgp>


More information about the mesa-dev mailing list