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
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