#include "radeon_mipmap_tree.h"
#include "radeon_queryobj.h"
+/**
+ * Enable verbose debug output for emit code.
+ * 0 no output
+ * 1 most output
+ * 2 also print state alues
+ */
#define DEBUG_CMDBUF 0
/* =============================================================
fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size);
- if (RADEON_DEBUG & DEBUG_VERBOSE) {
+ if (DEBUG_CMDBUF > 1 && RADEON_DEBUG & DEBUG_VERBOSE) {
if (dwords > state->cmd_size)
dwords = state->cmd_size;
fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size);
- if (RADEON_DEBUG & DEBUG_VERBOSE) {
+ if (DEBUG_CMDBUF > 1 && RADEON_DEBUG & DEBUG_VERBOSE) {
if (dwords > state->cmd_size)
dwords = state->cmd_size;
for (i = 0; i < state->cmd_size;) {