summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-04-11 17:56:21 -0700
committerVinson Lee <[email protected]>2010-04-11 17:56:21 -0700
commit4a796264dfc1bdba37a7204f3439a8da213109ed (patch)
treeb6df5ec8fc6b66a965c1a6e10006bd23949ff1d5 /src
parent2657325c4a73a2bfa94888a936d06466000e7fbf (diff)
i915g: Fix assert.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915/i915_fpc_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_fpc_emit.c b/src/gallium/drivers/i915/i915_fpc_emit.c
index b054ce41d39..76c24d2b2fd 100644
--- a/src/gallium/drivers/i915/i915_fpc_emit.c
+++ b/src/gallium/drivers/i915/i915_fpc_emit.c
@@ -243,7 +243,7 @@ uint i915_emit_texld( struct i915_fp_compile *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)));
/* is the sampler coord a texcoord input reg? */
if (GET_UREG_TYPE(coord) != REG_TYPE_T) {