commit | a4fd8ba7e39f7571a2a08e3c602b4d08566f3a09 | [log] [tgz] |
---|---|---|
author | Timur Kristóf <timur.kristof@gmail.com> | Wed Sep 25 16:40:07 2019 +0200 |
committer | Connor Abbott <cwabbott0@gmail.com> | Thu Sep 26 13:36:49 2019 +0000 |
tree | 0627933725101a699845fe99c554d325d3cbc14e | |
parent | 83eebdb5078872fbf0ff67cac6b08823d6a1293c [diff] |
amd/common: Introduce ac_get_fs_input_vgpr_cnt. Add a function called ac_get_fs_input_vgpr_cnt which will return the number of input VGPRs used by an AMD shader. Previously, radv and radeonsi had the same code duplicated, but this commit also allows them to share this code. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Marek Olšák <marek.olsak@amd.com>