nvc0: allow to force compiling programs in debug build
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Sep 2016 18:37:12 +0000 (20:37 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 26 Sep 2016 17:39:04 +0000 (19:39 +0200)
commitac859d68f474694f9cb1de007997c936d735a48c
treee87dd4bf80f17a5ed340f89212c4011a917d9724
parente05042b3678f260385e1e21499025cb35310c6ad
nvc0: allow to force compiling programs in debug build

This adds a new envvar called NV50_PROG_CHIPSET which allows to
compile shaders with a different target, especially useful for
shader-db.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_program.c