nvc0: dump program binary only when NV50_PROG_DEBUG is set
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 6 Oct 2016 22:43:51 +0000 (00:43 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 6 Oct 2016 23:01:17 +0000 (01:01 +0200)
commita198883bf75afa7c802609ea265447cec5c10aaf
treec4345706cb307fe61bbfcdd82086a188740fba14
parent325b3fd668369e2ed0af937843e80e750d0b91ed
nvc0: dump program binary only when NV50_PROG_DEBUG is set

When the chipset is forced with NV50_PROG_CHIPSET, we actually
only want to output the binary if NV50_PROG_DEBUG is also
enabled. Otherwise, this pollutes the shader-db output.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nvc0/nvc0_program.c