Re: [Mesa-dev] [PATCH 2/5] r300g/compiler/tests: Remove an unused variable

2014-01-13 Thread Tom Stellard
On Mon, Jan 06, 2014 at 11:47:39AM +0200, Lauri Kasanen wrote:
> On Sun,  5 Jan 2014 18:51:18 -0800
> Tom Stellard  wrote:
> 
> > struct rc_test_file test_file;
> > +   struct rc_instruction *inst;
> > unsigned optimizations = 1;
> > unsigned do_full_regalloc = 1;
> > -   struct rc_instruction *inst;
> > unsigned pass = 1;
> 
> This doesn't do what the title says.
> 

Thanks for spotting this I will drop the patch.

-Tom

> - Lauri
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [PATCH 2/5] r300g/compiler/tests: Remove an unused variable

2014-01-06 Thread Lauri Kasanen
On Sun,  5 Jan 2014 18:51:18 -0800
Tom Stellard  wrote:

>   struct rc_test_file test_file;
> + struct rc_instruction *inst;
>   unsigned optimizations = 1;
>   unsigned do_full_regalloc = 1;
> - struct rc_instruction *inst;
>   unsigned pass = 1;

This doesn't do what the title says.

- Lauri
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH 2/5] r300g/compiler/tests: Remove an unused variable

2014-01-05 Thread Tom Stellard
From: Tom Stellard 

---
 .../drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/gallium/drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c 
b/src/gallium/drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c
index 5306b08..70ba748 100644
--- a/src/gallium/drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c
+++ b/src/gallium/drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c
@@ -46,9 +46,9 @@ static void test_runner_rc_regalloc(
const char *filename)
 {
struct rc_test_file test_file;
+   struct rc_instruction *inst;
unsigned optimizations = 1;
unsigned do_full_regalloc = 1;
-   struct rc_instruction *inst;
unsigned pass = 1;
 
test_begin(result);
-- 
1.8.1.5

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev