radeonsi: don't enable scratch just for SGPR spills
authorMarek Olšák <marek.olsak@amd.com>
Tue, 7 Jun 2016 22:14:58 +0000 (00:14 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 8 Jun 2016 17:23:41 +0000 (19:23 +0200)
commita343ab55f725be997d9e74a0b3c715cc58fd5b86
treee98c0be8cc789c29b1bf471e1afc080a70fd6695
parent55b097d004a8d036c0176845122b044b6ddbca10
radeonsi: don't enable scratch just for SGPR spills

Diff from shader-db:
  Scratch: 3221504 -> 17408 (-99.46 %) bytes per wave

v2: add "break;"

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