summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-12-14 10:46:29 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-12-14 10:46:29 -0700
commit23e36c2dfb1f9501a6a1023afc1d0c151f2e99c3 (patch)
tree24b617b2d285cdbbaa530eec7b4fb61cf38d7d99 /src/mesa/pipe/i915simple
parenta2b4d4a8db77443b834daf811802a909768fa926 (diff)
update comment for TGSI_TOKEN_TYPE_IMMEDIATE case
Diffstat (limited to 'src/mesa/pipe/i915simple')
-rw-r--r--src/mesa/pipe/i915simple/i915_fpc_translate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/i915simple/i915_fpc_translate.c b/src/mesa/pipe/i915simple/i915_fpc_translate.c
index 1cd554250c..d517b88acc 100644
--- a/src/mesa/pipe/i915simple/i915_fpc_translate.c
+++ b/src/mesa/pipe/i915simple/i915_fpc_translate.c
@@ -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: