radeonsi: add environment variable SI_FORCE_FAMILY
authorMarek Olšák <marek.olsak@amd.com>
Sat, 30 Jul 2016 22:46:09 +0000 (00:46 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 6 Aug 2016 14:11:35 +0000 (16:11 +0200)
commitad8af99c86faca56451fd6f11259c69907feca0b
tree66d624dd3dfc7ec97c3a3e5e3c611705818eddbf
parentd0646cc7455df1678a129fa29d142f20f5252759
radeonsi: add environment variable SI_FORCE_FAMILY

This will be used by: amdgcn_glslc -mcpu=[family]

It can also be used for shader-db if you want stats for a different family.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c