summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-10-22 09:37:26 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-10-22 09:37:26 -0600
commit70eb7996f265f3634dabda078f13d1be3533cc65 (patch)
tree30148a72c347274cafa3386accb22aae4c1f9c7a /src/mesa/pipe/tgsi
parentec3bd21c465f27d0a8e313e00338109d21019fc0 (diff)
Finish unifying the surface and texture tile caches.
Diffstat (limited to 'src/mesa/pipe/tgsi')
-rw-r--r--src/mesa/pipe/tgsi/exec/tgsi_exec.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.h b/src/mesa/pipe/tgsi/exec/tgsi_exec.h
index 20647e72e2..978c2d574e 100644
--- a/src/mesa/pipe/tgsi/exec/tgsi_exec.h
+++ b/src/mesa/pipe/tgsi/exec/tgsi_exec.h
@@ -29,14 +29,8 @@ struct tgsi_interp_coef
float dady[NUM_CHANNELS];
};
-#define TEX_CACHE_TILE_SIZE 8
-#define TEX_CACHE_NUM_ENTRIES 8
-struct tgsi_texture_cache_entry
-{
- int x, y, face, level, zslice;
- float data[TEX_CACHE_TILE_SIZE][TEX_CACHE_TILE_SIZE][4];
-};
+struct softpipe_tile_cache; /**< Opaque to TGSI */
struct tgsi_sampler
{
@@ -50,7 +44,7 @@ struct tgsi_sampler
float lodbias,
float rgba[NUM_CHANNELS][QUAD_SIZE]);
void *pipe; /*XXX temporary*/
- struct tgsi_texture_cache_entry cache[TEX_CACHE_NUM_ENTRIES];
+ struct softpipe_tile_cache *cache;
};
struct tgsi_exec_labels