radeonsi: compute how many input SGPRs and VGPRs shaders have
authorMarek Olšák <marek.olsak@amd.com>
Fri, 1 Jan 2016 19:37:38 +0000 (20:37 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 21 Feb 2016 20:08:57 +0000 (21:08 +0100)
commitfe1b6ede0134168815527fedbff8ce06cca5a3aa
tree8b5caa13670595d758507ac3208cf1845ef85925
parent36202182acfa1ea04a5202e5d0a3066c96df9dac
radeonsi: compute how many input SGPRs and VGPRs shaders have

Prologs (shader binaries inserted before the API shader binary) need to
know this, so that they won't change the input registers unintentionally.

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