diff options
author | Eric Engestrom <[email protected]> | 2019-09-25 08:47:28 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-10-24 14:54:09 +0100 |
commit | abe32f56f576b06e200fffdb923da9c23a2c239b (patch) | |
tree | f5cd44a57caed9945dc8efc9175f61b13da1eada /src/gallium | |
parent | 91146c07967b1d531a38f724ad91e7a0fc0769ef (diff) |
llvmpipe: avoid compiling no-op block on release builds
Suggested-by: Adam Jackson <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index a4cb211e14b..d50e92b2b61 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.c +++ b/src/gallium/drivers/llvmpipe/lp_rast.c @@ -628,7 +628,7 @@ rasterize_bin(struct lp_rasterizer_task *task, lp_rast_tile_end(task); - +#ifdef DEBUG /* Debug/Perf flags: */ if (bin->head->count == 1) { @@ -637,6 +637,7 @@ rasterize_bin(struct lp_rasterizer_task *task, else if (bin->head->cmd[0] == LP_RAST_OP_SHADE_TILE) LP_COUNT(nr_pure_shade_64); } +#endif } |