OSDN Git Service

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 1cd5542..d517b88 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: