amd/common: Add num_shared_vgprs to ac_shader_config for GFX10.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 13 Sep 2019 13:38:50 +0000 (15:38 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Thu, 26 Sep 2019 13:36:49 +0000 (13:36 +0000)
commit7bde4ddaf723a604999feefaee30ed8aae35a830
tree5605ab4e00c1ca24b2d2af3fb3fa781f4215215d
parentdb1fddcf0fa91a71282b439fe0406d26585eab9f
amd/common: Add num_shared_vgprs to ac_shader_config for GFX10.

In GFX10 wave64 mode, shared VGPRs allow the two wave halves to
share some data with each other.

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>
src/amd/common/ac_binary.c
src/amd/common/ac_binary.h