[Mesa-dev] [PATCH 2/2] radv/gfx10: do not use NGG with NAVI14

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Wed Aug 21 12:48:19 UTC 2019


r-b for both.

On Wed, Aug 21, 2019 at 10:51 AM Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/amd/vulkan/radv_pipeline.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
> index 64bd0d64401..c049a2844b8 100644
> --- a/src/amd/vulkan/radv_pipeline.c
> +++ b/src/amd/vulkan/radv_pipeline.c
> @@ -2320,6 +2320,7 @@ radv_fill_shader_keys(struct radv_device *device,
>         }
>
>         if (device->physical_device->rad_info.chip_class >= GFX10 &&
> +           device->physical_device->rad_info.family != CHIP_NAVI14 &&
>             !(device->instance->debug_flags & RADV_DEBUG_NO_NGG)) {
>                 if (nir[MESA_SHADER_TESS_CTRL]) {
>                         keys[MESA_SHADER_TESS_EVAL].vs_common_out.as_ngg = true;
> --
> 2.22.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list