mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
swr: [rasterizer] eliminate unused label warnings on gcc
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
parent
12e6f4c879
commit
eaec263427
2 changed files with 8 additions and 0 deletions
|
|
@ -249,4 +249,10 @@ typedef MEGABYTE GIGABYTE[1024];
|
|||
|
||||
#include "common/swr_assert.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define ATTR_UNUSED __attribute__((unused))
|
||||
#else
|
||||
#define ATTR_UNUSED
|
||||
#endif
|
||||
|
||||
#endif//__SWR_OS_H__
|
||||
|
|
|
|||
|
|
@ -828,6 +828,7 @@ void BackendSampleRate(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint32_
|
|||
}
|
||||
|
||||
Endtile:
|
||||
ATTR_UNUSED;
|
||||
AR_BEGIN(BEEndTile, pDC->drawId);
|
||||
if(T::InputCoverage == SWR_INPUT_COVERAGE_INNER_CONSERVATIVE)
|
||||
{
|
||||
|
|
@ -1171,6 +1172,7 @@ void BackendNullPS(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t y,
|
|||
}
|
||||
|
||||
Endtile:
|
||||
ATTR_UNUSED;
|
||||
work.coverageMask[sample] >>= (SIMD_TILE_Y_DIM * SIMD_TILE_X_DIM);
|
||||
}
|
||||
pDepthBase += (KNOB_SIMD_WIDTH * FormatTraits<KNOB_DEPTH_HOT_TILE_FORMAT>::bpp) / 8;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue