[Mesa-dev] [PATCH 01/12] i965: Move brw_dump_ir() out of brw_*_emit() functions
Chris Wilson
chris at chris-wilson.co.uk
Thu Oct 8 04:32:29 PDT 2015
On Thu, Oct 08, 2015 at 01:23:27PM +0200, Iago Toral wrote:
> Well, this is weird.... this patch makes this crash:
>
> INTEL_DEBUG=vs glxgears
>
> because that uses a vertex program, so &vs->base is a NULL pointer
> dereference in this call:
>
> brw_dump_ir("vertex", prog, &vs->base, &vp->program.Base);
>
No, the crash is:
> + if (unlikely(INTEL_DEBUG & DEBUG_VS) && vs->base.ir)
and friends.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the mesa-dev
mailing list