nvc0: dump program binary when chipset has been forced
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 2 Oct 2016 14:59:10 +0000 (16:59 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 5 Oct 2016 19:15:44 +0000 (21:15 +0200)
commita41cfbbf2bd2697f4ecf3ca99f2b54fb2573d594
tree6aeba6b7f8a3260ab54d9152d916d65d65f7b961
parentcc4a19c4ad5b617af632ce732ccbfeb4b4043114
nvc0: dump program binary when chipset has been forced

Currently, program binaries are only dumped at upload time, but
when the chipset has been forced via NV50_PROG_CHIPSET we might
want to show the generated code, especially with shaderdb.

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