update comment for TGSI_TOKEN_TYPE_IMMEDIATE case
authorBrian <brian.paul@tungstengraphics.com>
Fri, 14 Dec 2007 17:46:29 +0000 (10:46 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 14 Dec 2007 17:46:29 +0000 (10:46 -0700)
src/mesa/pipe/i915simple/i915_fpc_translate.c

index 1cd554250cc4c960c5b2892e3b60fcf5a5a68048..d517b88accade99fe4ebac5077e1c5f8bbca665c 100644 (file)
@@ -928,8 +928,9 @@ i915_translate_instructions(struct i915_fp_compile *p,
          break;
 
       case TGSI_TOKEN_TYPE_IMMEDIATE:
-         /* XXX no-op? */
-         assert(0);
+         /* This is a no-op.  We'll get immediates from the usual constant/
+          * uniform buffer.
+          */
          break;
 
       case TGSI_TOKEN_TYPE_INSTRUCTION: