[Mesa-dev] [PATCH 1/6] r600g,radeonsi: remove unused variables
Marek Olšák
maraeo at gmail.com
Wed Aug 28 10:17:24 PDT 2013
---
src/gallium/drivers/r600/r600_pipe.h | 3 ---
src/gallium/drivers/radeonsi/radeonsi_pipe.h | 5 -----
2 files changed, 8 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 21d68c9..1564cc3 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 f9e4999..cd5a4f7 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];
--
1.8.1.2
More information about the mesa-dev
mailing list