diff options
author | Vinson Lee <vlee@vmware.com> | 2010-04-11 17:56:21 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-04-11 17:56:21 -0700 |
commit | 4a796264dfc1bdba37a7204f3439a8da213109ed (patch) | |
tree | b6df5ec8fc6b66a965c1a6e10006bd23949ff1d5 /src/gallium/drivers/i915/i915_fpc_emit.c | |
parent | 2657325c4a73a2bfa94888a936d06466000e7fbf (diff) | |
download | external_mesa3d-4a796264dfc1bdba37a7204f3439a8da213109ed.zip external_mesa3d-4a796264dfc1bdba37a7204f3439a8da213109ed.tar.gz external_mesa3d-4a796264dfc1bdba37a7204f3439a8da213109ed.tar.bz2 |
i915g: Fix assert.
Diffstat (limited to 'src/gallium/drivers/i915/i915_fpc_emit.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_fpc_emit.c | 2 |
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 b054ce4..76c24d2 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) { |