llvmpipe: avoid compiling no-op block on release builds

Suggested-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
Eric Engestrom
2019-09-25 08:47:28 +01:00
parent 91146c0796
commit abe32f56f5
+2 -1
View File
@@ -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
}