[Nouveau] [PATCH 2/2] st: don't assert on empty fragment program
Luca Barbieri
luca at luca-barbieri.com
Sun Jan 17 13:36:00 PST 2010
Sauerbraten triggers this assert.
---
src/mesa/state_tracker/st_atom_shader.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/mesa/state_tracker/st_atom_shader.c b/src/mesa/state_tracker/st_atom_shader.c
index 176f3ea..fce533a 100644
--- a/src/mesa/state_tracker/st_atom_shader.c
+++ b/src/mesa/state_tracker/st_atom_shader.c
@@ -79,8 +79,6 @@ translate_fp(struct st_context *st,
stfp->num_input_slots = numIn;
- assert(stfp->Base.Base.NumInstructions > 1);
-
st_translate_fragment_program(st, stfp, stfp->input_to_slot);
}
}
--
1.6.3.3
More information about the Nouveau
mailing list