mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 11:00:27 +01:00
llvmpipe: add DEBUG_FS to dump variant information
This commit is contained in:
parent
5f00819cb3
commit
0986355425
3 changed files with 3 additions and 1 deletions
|
|
@ -49,6 +49,7 @@ st_print_current(void);
|
|||
#define DEBUG_SCENE 0x1000
|
||||
#define DEBUG_FENCE 0x2000
|
||||
#define DEBUG_MEM 0x4000
|
||||
#define DEBUG_FS 0x8000
|
||||
|
||||
/* Performance flags. These are active even on release builds.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ static const struct debug_named_value lp_debug_flags[] = {
|
|||
{ "scene", DEBUG_SCENE, NULL },
|
||||
{ "fence", DEBUG_FENCE, NULL },
|
||||
{ "mem", DEBUG_MEM, NULL },
|
||||
{ "fs", DEBUG_FS, NULL },
|
||||
DEBUG_NAMED_VALUE_END
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -865,7 +865,7 @@ generate_variant(struct llvmpipe_context *lp,
|
|||
? TRUE : FALSE;
|
||||
|
||||
|
||||
if (gallivm_debug & GALLIVM_DEBUG_IR) {
|
||||
if ((LP_DEBUG & DEBUG_FS) || (gallivm_debug & GALLIVM_DEBUG_IR)) {
|
||||
lp_debug_fs_variant(variant);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue