mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
llvmpipe: Enable LP_DEBUG on normal builds.
I don't typically include DEBUG because it sometimes has expensive debug code, but these options are not that. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21086>
This commit is contained in:
parent
fd9b50aa1c
commit
947c60fa2f
2 changed files with 0 additions and 9 deletions
|
|
@ -69,12 +69,7 @@
|
|||
|
||||
extern int LP_PERF;
|
||||
|
||||
#ifdef DEBUG
|
||||
extern int LP_DEBUG;
|
||||
#else
|
||||
#define LP_DEBUG 0
|
||||
#endif
|
||||
|
||||
|
||||
void
|
||||
st_debug_init(void);
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@
|
|||
#include "nir.h"
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
int LP_DEBUG = 0;
|
||||
|
||||
static const struct debug_named_value lp_debug_flags[] = {
|
||||
|
|
@ -82,7 +81,6 @@ static const struct debug_named_value lp_debug_flags[] = {
|
|||
{ "accurate_a0", DEBUG_ACCURATE_A0 },
|
||||
DEBUG_NAMED_VALUE_END
|
||||
};
|
||||
#endif
|
||||
|
||||
int LP_PERF = 0;
|
||||
static const struct debug_named_value lp_perf_flags[] = {
|
||||
|
|
@ -1041,9 +1039,7 @@ llvmpipe_create_screen(struct sw_winsys *winsys)
|
|||
|
||||
glsl_type_singleton_init_or_ref();
|
||||
|
||||
#ifdef DEBUG
|
||||
LP_DEBUG = debug_get_flags_option("LP_DEBUG", lp_debug_flags, 0 );
|
||||
#endif
|
||||
|
||||
LP_PERF = debug_get_flags_option("LP_PERF", lp_perf_flags, 0 );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue