mesa: glsl: remove old assertion (fixes glsl/bitmap.c)
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 29 Jul 2008 23:49:38 +0000 (17:49 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 29 Jul 2008 23:49:38 +0000 (17:49 -0600)
src/mesa/shader/slang/slang_emit.c

index f1af6902ea10f0fe27182853176da93445a4dc91..9991a7caeee8121bceaf0a73b845a1f7d42537da 100644 (file)
@@ -1021,7 +1021,7 @@ emit_tex(slang_emit_info *emitInfo, slang_ir_node *n)
    storage_to_dst_reg(&inst->DstReg, n->Store, n->Writemask);
 
    /* Child[1] is the coord */
-   assert(n->Children[1]->Store->File != PROGRAM_UNDEFINED);
+   /*assert(n->Children[1]->Store->File != PROGRAM_UNDEFINED);*/
    assert(n->Children[1]->Store->Index >= 0);
    storage_to_src_reg(&inst->SrcReg[0], n->Children[1]->Store);