mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
llvmpipe: remove lp_swizzled_cbuf
Ununsed since 75da95c5.
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
44a5d7371c
commit
a8016b2f60
3 changed files with 0 additions and 16 deletions
|
|
@ -29,17 +29,6 @@
|
|||
#include "lp_limits.h"
|
||||
#include "lp_memory.h"
|
||||
|
||||
/**
|
||||
* 32bpp RGBA swizzled tiles. One for for each thread and each
|
||||
* possible colorbuf. Adds up to quite a bit 8*8*64*64*4 == 1MB.
|
||||
* Several schemes exist to reduce this, such as scaling back the
|
||||
* number of threads or using a smaller tilesize when multiple
|
||||
* colorbuffers are bound.
|
||||
*/
|
||||
PIPE_ALIGN_VAR(LP_MIN_VECTOR_ALIGN)
|
||||
uint8_t lp_swizzled_cbuf[LP_MAX_THREADS][PIPE_MAX_COLOR_BUFS][TILE_SIZE * TILE_SIZE * 4];
|
||||
|
||||
|
||||
/* A single dummy tile used in a couple of out-of-memory situations.
|
||||
*/
|
||||
PIPE_ALIGN_VAR(LP_MIN_VECTOR_ALIGN)
|
||||
|
|
|
|||
|
|
@ -34,9 +34,6 @@
|
|||
#include "lp_limits.h"
|
||||
#include "gallivm/lp_bld_type.h"
|
||||
|
||||
extern PIPE_ALIGN_VAR(LP_MIN_VECTOR_ALIGN)
|
||||
uint8_t lp_swizzled_cbuf[LP_MAX_THREADS][PIPE_MAX_COLOR_BUFS][TILE_SIZE * TILE_SIZE * 4];
|
||||
|
||||
extern PIPE_ALIGN_VAR(LP_MIN_VECTOR_ALIGN)
|
||||
uint8_t lp_dummy_tile[TILE_SIZE * TILE_SIZE * 4];
|
||||
|
||||
|
|
|
|||
|
|
@ -867,8 +867,6 @@ lp_rast_create( unsigned num_threads )
|
|||
/* for synchronizing rasterization threads */
|
||||
pipe_barrier_init( &rast->barrier, rast->num_threads );
|
||||
|
||||
memset(lp_swizzled_cbuf, 0, sizeof lp_swizzled_cbuf);
|
||||
|
||||
memset(lp_dummy_tile, 0, sizeof lp_dummy_tile);
|
||||
|
||||
return rast;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue