r600g,radeonsi: remove unused variables
authorMarek Olšák <marek.olsak@amd.com>
Sat, 17 Aug 2013 12:17:28 +0000 (14:17 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 30 Aug 2013 23:34:29 +0000 (01:34 +0200)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/radeonsi/radeonsi_pipe.h

index 398ac89d0ae458901f501c2dc43957800a315e4f..668a846d91069598e1470e56901e284856c97803 100644 (file)
@@ -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;
index faad8e1b8c8c3710cb5bad0e80119566904dc9eb..8a9f1ff503d2f1cdb8577d0f5a983e75e94cfa58 100644 (file)
@@ -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];