projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d28047
)
nv50: move declaration before code
author
Brian Paul
<brianp@vmware.com>
Tue, 20 Apr 2010 16:10:21 +0000
(10:10 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 20 Apr 2010 16:10:48 +0000
(10:10 -0600)
src/gallium/drivers/nv50/nv50_program.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_program.c
b/src/gallium/drivers/nv50/nv50_program.c
index
608daa1
..
89ab25e
100644
(file)
--- 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);