r600g: use a single env var R600_DEBUG, disable bytecode dumping
authorMarek Olšák <maraeo@gmail.com>
Fri, 1 Mar 2013 15:31:49 +0000 (16:31 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 11 Mar 2013 12:43:36 +0000 (13:43 +0100)
commit4bf0ebdd4fc8dbcab9333ff8805af35a91e6848b
treed13a030d3fcbe39cbd80be796647bdc9ab86d462
parent2ca73bc7f7a2983556b132395c73739a01f167b5
r600g: use a single env var R600_DEBUG, disable bytecode dumping

Only the disassembler is used to dump shaders. Here's a few examples
how to use R600_DEBUG.

Log compute info:
  R600_DEBUG=compute

Dump all shaders:
  R600_DEBUG=fs,vs,gs,ps,cs

Dump pixel shaders only:
  R600_DEBUG=ps

Disable Hyper-Z:
  R600_DEBUG=nohyperz

Disable the LLVM backend:
  R600_DEBUG=nollvm

Or use any combination of the above, or print all options:
  R600_DEBUG=help

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/r600/compute_memory_pool.c
src/gallium/drivers/r600/evergreen_compute.c
src/gallium/drivers/r600/evergreen_compute.h
src/gallium/drivers/r600/evergreen_compute_internal.c
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_isa.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_texture.c