From: Brian Date: Fri, 14 Dec 2007 17:46:29 +0000 (-0700) Subject: update comment for TGSI_TOKEN_TYPE_IMMEDIATE case X-Git-Tag: android-x86-1.6~16^2~1465^2~390^2~3137 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=23e36c2dfb1f9501a6a1023afc1d0c151f2e99c3;p=android-x86%2Fexternal-mesa.git update comment for TGSI_TOKEN_TYPE_IMMEDIATE case --- diff --git a/src/mesa/pipe/i915simple/i915_fpc_translate.c b/src/mesa/pipe/i915simple/i915_fpc_translate.c index 1cd554250cc..d517b88acca 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: