i965: only try print GLSL IR once when using INTEL_DEBUG to dump ir
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 3 Nov 2016 10:47:04 +0000 (21:47 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 17 Nov 2016 01:52:24 +0000 (12:52 +1100)
commitc3b8bf9bc90763c84558199511d062dde18a5d1e
tree0406efb4e97f5e72ef7b67709fd34d5fc4b9c787
parent2e2160969e6e47ae9cd73385f9901d3bf1a92856
i965: only try print GLSL IR once when using INTEL_DEBUG to dump ir

Since we started releasing GLSL IR after linking the only time we can
print GLSL IR is during linking. When regenerating variants only NIR
will be available.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/dri/i965/brw_cs.c
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_link.cpp
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/drivers/dri/i965/brw_program.h
src/mesa/drivers/dri/i965/brw_tcs.c
src/mesa/drivers/dri/i965/brw_tes.c
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_wm.c