Mesa (master): r600g,radeonsi: remove unused variables

Marek Olšák mareko at kemper.freedesktop.org
Fri Aug 30 23:34:36 UTC 2013


Module: Mesa
Branch: master
Commit: d698f19cba0031d90116a2fdba70de83da7f03d4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d698f19cba0031d90116a2fdba70de83da7f03d4

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Aug 17 14:17:28 2013 +0200

r600g,radeonsi: remove unused variables

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Tested-by: Tom Stellard <thomas.stellard at amd.com>

---

 src/gallium/drivers/r600/r600_pipe.h         |    3 ---
 src/gallium/drivers/radeonsi/radeonsi_pipe.h |    5 -----
 2 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 398ac89..668a846 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -417,9 +417,6 @@ struct r600_fence_block {
 	struct list_head		head;
 };
 
-#define R600_CONSTANT_ARRAY_SIZE 256
-#define R600_RESOURCE_ARRAY_SIZE 160
-
 struct r600_constbuf_state
 {
 	struct r600_atom		atom;
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.h b/src/gallium/drivers/radeonsi/radeonsi_pipe.h
index faad8e1..8a9f1ff 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pipe.h
+++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.h
@@ -102,8 +102,6 @@ struct r600_textures_info {
 	uint32_t			depth_texture_mask; /* which textures are depth */
 	uint32_t			compressed_colortex_mask;
 	unsigned			n_samplers;
-	bool				samplers_dirty;
-	bool				is_array_sampler[NUM_TEX_UNITS];
 };
 
 struct r600_fence {
@@ -120,9 +118,6 @@ struct r600_fence_block {
 	struct list_head		head;
 };
 
-#define R600_CONSTANT_ARRAY_SIZE 256
-#define R600_RESOURCE_ARRAY_SIZE 160
-
 struct r600_constbuf_state
 {
 	struct pipe_constant_buffer	cb[2];




More information about the mesa-commit mailing list