[Mesa-dev] [PATCH v2 1/2] i965: NULL check prog on shader compilation failure.

2013-04-11 Thread Matt Turner
Also change if (shader) to if (prog) for consistency. --- src/mesa/drivers/dri/i965/brw_fs.cpp | 12 +++- src/mesa/drivers/dri/i965/brw_vec4.cpp |8 +--- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp

Re: [Mesa-dev] [PATCH v2 1/2] i965: NULL check prog on shader compilation failure.

2013-04-11 Thread Eric Anholt
Matt Turner matts...@gmail.com writes: Also change if (shader) to if (prog) for consistency. If the _mesa_problem is pulled out of the if (prog) in both patches (since it doesn't rely on the program, and you'd want to know), then: Reviewed-by: Eric Anholt e...@anholt.net pgpDwZqCAcTWE.pgp