summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-20 10:10:21 -0600
committerBrian Paul <brianp@vmware.com>2010-04-20 10:10:48 -0600
commit117bf856d876f8627459eecd579c5f6079a2be71 (patch)
tree756aac62af38faa7c0918de0070d35121556af6f /src/gallium
parent4d2804791a2c4afc80a0facec9634353059cce14 (diff)
nv50: move declaration before code
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 608daa159e7..89ab25eba04 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -600,8 +600,8 @@ static void
emit_interp(struct nv50_pc *pc, struct nv50_reg *dst, struct nv50_reg *iv,
unsigned mode)
{
- assert(dst->rhw != -1);
struct nv50_program_exec *e = exec(pc);
+ assert(dst->rhw != -1);
e->inst[0] |= 0x80000000;
set_dst(pc, dst, e);