r600g,radeonsi: consolidate some debug flags
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
43ea10eb1d
commit
e1374d86fe
|
@ -43,14 +43,11 @@
|
|||
|
||||
static const struct debug_named_value r600_debug_options[] = {
|
||||
/* features */
|
||||
{ "nohyperz", DBG_NO_HYPERZ, "Disable Hyper-Z" },
|
||||
#if defined(R600_USE_LLVM)
|
||||
{ "nollvm", DBG_NO_LLVM, "Disable the LLVM shader compiler" },
|
||||
#endif
|
||||
{ "nocpdma", DBG_NO_CP_DMA, "Disable CP DMA" },
|
||||
{ "nodma", DBG_NO_ASYNC_DMA, "Disable asynchronous DMA" },
|
||||
/* GL uses the word INVALIDATE, gallium uses the word DISCARD */
|
||||
{ "noinvalrange", DBG_NO_DISCARD_RANGE, "Disable handling of INVALIDATE_RANGE map flags" },
|
||||
|
||||
/* shader backend */
|
||||
{ "nosb", DBG_NO_SB, "Disable sb backend for graphics shaders" },
|
||||
|
|
|
@ -192,7 +192,6 @@ struct r600_viewport_state {
|
|||
#define DBG_NO_LLVM (1 << 17)
|
||||
#define DBG_NO_CP_DMA (1 << 18)
|
||||
#define DBG_NO_ASYNC_DMA (1 << 19)
|
||||
#define DBG_NO_DISCARD_RANGE (1 << 20)
|
||||
/* shader backend */
|
||||
#define DBG_NO_SB (1 << 21)
|
||||
#define DBG_SB_CS (1 << 22)
|
||||
|
|
|
@ -45,6 +45,10 @@ static const struct debug_named_value common_debug_options[] = {
|
|||
{ "ps", DBG_PS, "Print pixel shaders" },
|
||||
{ "cs", DBG_CS, "Print compute shaders" },
|
||||
|
||||
{ "nohyperz", DBG_NO_HYPERZ, "Disable Hyper-Z" },
|
||||
/* GL uses the word INVALIDATE, gallium uses the word DISCARD */
|
||||
{ "noinvalrange", DBG_NO_DISCARD_RANGE, "Disable handling of INVALIDATE_RANGE map flags" },
|
||||
|
||||
DEBUG_NAMED_VALUE_END /* must be last */
|
||||
};
|
||||
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
#define DBG_CS (1 << 12)
|
||||
/* features */
|
||||
#define DBG_NO_HYPERZ (1 << 13)
|
||||
#define DBG_NO_DISCARD_RANGE (1 << 14)
|
||||
/* The maximum allowed bit is 15. */
|
||||
|
||||
struct r600_common_context;
|
||||
|
|
Loading…
Reference in New Issue