ws->query_info(ws, &rscreen->info);
rscreen->debug_flags = debug_get_flags_option("R600_DEBUG", debug_options, 0);
+ if (debug_get_bool_option("R600_DEBUG_COMPUTE", FALSE))
+ rscreen->debug_flags |= DBG_COMPUTE;
+ if (debug_get_bool_option("R600_DUMP_SHADERS", FALSE))
+ rscreen->debug_flags |= DBG_FS | DBG_VS | DBG_GS | DBG_PS | DBG_CS;
+ if (!debug_get_bool_option("R600_HYPERZ", TRUE))
+ rscreen->debug_flags |= DBG_NO_HYPERZ;
+ if (!debug_get_bool_option("R600_LLVM", TRUE))
+ rscreen->debug_flags |= DBG_NO_LLVM;
+ if (debug_get_bool_option("R600_PRINT_TEXDEPTH", FALSE))
+ rscreen->debug_flags |= DBG_TEX_DEPTH;
rscreen->family = rscreen->info.family;
rscreen->chip_class = rscreen->info.chip_class;