diff options
author | Brian Paul <brianp@vmware.com> | 2011-05-19 21:23:39 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-05-19 21:23:39 -0600 |
commit | 4f59b321784e7c16bc91696303886c1ce7270960 (patch) | |
tree | 14313aff19fc831c1f77567b3b6bf3ff6d851e07 | |
parent | 38f89c7008b5ed9a70439f4e6590f00a4e220b10 (diff) |
r300: move declaration before code
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_compiler_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_compiler_util.c b/src/mesa/drivers/dri/r300/compiler/radeon_compiler_util.c index c8001ba8c1..2742721f80 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_compiler_util.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_compiler_util.c @@ -534,10 +534,10 @@ int rc_get_max_index( rc_register_file file) { struct max_data data; + struct rc_instruction * inst; data.Max = 0; data.HasFileType = 0; data.File = file; - struct rc_instruction * inst; for (inst = c->Program.Instructions.Next; inst != &c->Program.Instructions; inst = inst->Next) { |