mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
llvmpipe: avoid generating empty-body blocks
Suggested-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
parent
abe32f56f5
commit
1177151b6d
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ extern struct lp_counters lp_count;
|
|||
#define LP_COUNT_ADD(counter, incr) lp_count.counter += (incr)
|
||||
#define LP_COUNT_GET(counter) (lp_count.counter)
|
||||
#else
|
||||
#define LP_COUNT(counter)
|
||||
#define LP_COUNT(counter) do {} while (0)
|
||||
#define LP_COUNT_ADD(counter, incr) (void)(incr)
|
||||
#define LP_COUNT_GET(counter) 0
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue