From: Vinson Lee Date: Sat, 26 Dec 2009 23:55:38 +0000 (-0800) Subject: i915: Fix assert. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=309c156bae59124be17137d0f559d2c054231f7c;p=mesa.git i915: Fix assert. --- diff --git a/src/mesa/drivers/dri/i915/i915_program.c b/src/mesa/drivers/dri/i915/i915_program.c index e87700f8e0a..ce2c9756116 100644 --- a/src/mesa/drivers/dri/i915/i915_program.c +++ b/src/mesa/drivers/dri/i915/i915_program.c @@ -239,7 +239,7 @@ GLuint i915_emit_texld( struct i915_fragment_program *p, } else { assert(GET_UREG_TYPE(dest) != REG_TYPE_CONST); - assert(dest = UREG(GET_UREG_TYPE(dest), GET_UREG_NR(dest))); + assert(dest == UREG(GET_UREG_TYPE(dest), GET_UREG_NR(dest))); /* Can't use unsaved temps for coords, as the phase boundary would result * in the contents becoming undefined. */