Yeah, this is correct. The pointer will be NULL if there is no shader
for that stage.
Reviewed-by: Ian Romanick ian.d.roman...@intel.com
(Sent from my phone.)
On Oct 9, 2011, at 5:13 PM, Stéphane Marchesin marc...@chromium.org
wrote:
The rest of the linker/glsl translation code checks
The rest of the linker/glsl translation code checks for NULL, so I suppose we
should check here too. Fixes crash on exit with i915g instanced drawing.
---
src/mesa/state_tracker/st_program.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git