X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fsoftpipe%2Fsp_tex_tile_cache.h;h=4098aa1d3c6c73679c83e05451e63c082d908cb7;hb=2ed1cdb2a56257c97f8f64cdefd5f28fb64773b8;hp=e0b66bf3f7c22670d857d8e65fe44a8f64489619;hpb=772b25e1f366edc857e77b8c1ccdc5297d82cc41;p=mesa.git diff --git a/src/gallium/drivers/softpipe/sp_tex_tile_cache.h b/src/gallium/drivers/softpipe/sp_tex_tile_cache.h index e0b66bf3f7c..4098aa1d3c6 100644 --- a/src/gallium/drivers/softpipe/sp_tex_tile_cache.h +++ b/src/gallium/drivers/softpipe/sp_tex_tile_cache.h @@ -68,6 +68,8 @@ struct softpipe_tex_cached_tile union tex_tile_address addr; union { float color[TILE_SIZE][TILE_SIZE][4]; + unsigned int colorui[TILE_SIZE][TILE_SIZE][4]; + int colori[TILE_SIZE][TILE_SIZE][4]; } data; }; @@ -92,11 +94,9 @@ struct softpipe_tex_tile_cache unsigned swizzle_g; unsigned swizzle_b; unsigned swizzle_a; - unsigned format; + enum pipe_format format; struct softpipe_tex_cached_tile *last_tile; /**< most recently retrieved tile */ - - float swz_border_color[4]; /**< swizzled border color */ }; @@ -161,10 +161,5 @@ sp_get_cached_tile_tex(struct softpipe_tex_tile_cache *tc, } -const float * -sp_tex_tile_cache_border_color(struct softpipe_tex_tile_cache *tc, - const float border_color[4]); - - #endif /* SP_TEX_TILE_CACHE_H */