mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
new MESA_DEBUG option: disassem
This commit is contained in:
parent
5c72837af9
commit
269e3895d9
3 changed files with 6 additions and 2 deletions
|
|
@ -176,6 +176,9 @@ static void add_debug_flags( const char *debug )
|
|||
|
||||
if (_mesa_strstr(debug, "lighting"))
|
||||
MESA_VERBOSE |= VERBOSE_LIGHTING;
|
||||
|
||||
if (_mesa_strstr(debug, "disassem"))
|
||||
MESA_VERBOSE |= VERBOSE_DISASSEM;
|
||||
|
||||
/* Debug flag:
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -2895,7 +2895,8 @@ enum _verbose
|
|||
VERBOSE_DISPLAY_LIST = 0x0100,
|
||||
VERBOSE_LIGHTING = 0x0200,
|
||||
VERBOSE_PRIMS = 0x0400,
|
||||
VERBOSE_VERTS = 0x0800
|
||||
VERBOSE_VERTS = 0x0800,
|
||||
VERBOSE_DISASSEM = 0x1000
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
#include "shader/arbfragparse.h"
|
||||
|
||||
|
||||
#define DISASSEM 0
|
||||
#define DISASSEM (MESA_VERBOSE & VERBOSE_DISASSEM)
|
||||
|
||||
/* Use uregs to represent registers internally, translate to Mesa's
|
||||
* expected formats on emit.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue