[Mesa-dev] [PATCH 3/5] amd/common: add chip_class to ac_llvm_context

Emil Velikov emil.l.velikov at gmail.com
Wed Sep 13 17:25:19 UTC 2017


Hi Nicolai,

On 13 September 2017 at 18:04, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> ---
>  src/amd/common/ac_llvm_build.c                      | 5 ++++-
>  src/amd/common/ac_llvm_build.h                      | 7 ++++++-
>  src/amd/common/ac_nir_to_llvm.c                     | 4 ++--
>  src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | 2 +-
>  4 files changed, 13 insertions(+), 5 deletions(-)
>
What's the difference between these three?

ac_llvm_context::chip_class
ac_nir_compiler_options::chip_class
ac_shader_abi::chip_class

Is it be possible to remove the unneeded/duplicated ones?

-Emil


More information about the mesa-dev mailing list