From: Christoph Bumiller Date: Thu, 31 Dec 2009 21:24:13 +0000 (+0100) Subject: nv50: small fix for handling "dangerous" swizzles X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45a01bc5bd95a6cc85a9db7d8e2c07812346373d;p=mesa.git nv50: small fix for handling "dangerous" swizzles --- diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index 67333477352..2d0b1818ef6 100644 --- a/src/gallium/drivers/nv50/nv50_program.c +++ b/src/gallium/drivers/nv50/nv50_program.c @@ -2864,7 +2864,7 @@ nv50_tgsi_insn(struct nv50_pc *pc, const union tgsi_full_token *tok) } pc->r_brdc = NULL; - if (!deqs) + if (!deqs || (!rdep[0] && !rdep[1] && !rdep[2] && !rdep[3])) return nv50_program_tx_insn(pc, &insn); deqs = nv50_revdep_reorder(m, rdep);