i965/disasm: Fix INTEL_DEBUG=fs on Broadwell for ARB_fp applications.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 29 Jun 2014 04:16:06 +0000 (21:16 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 30 Jun 2014 21:06:51 +0000 (14:06 -0700)
commitc60a4ba7e36f069d6829948ee14d87970f5f39a1
treeff45046b120634c89a11581bed10fae969d690cb
parent5dfbfd17e06fa8ce21e9c94034e199769ee740e3
i965/disasm: Fix INTEL_DEBUG=fs on Broadwell for ARB_fp applications.

Apparently INTEL_DEBUG=fs has crashed on Broadwell for anything using
ARB_fragment_program since commit 9cee3ff5.  We need to NULL-check the
right field.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/gen8_fs_generator.cpp