From: Samuel Pitoiset Date: Mon, 20 May 2019 08:28:02 +0000 (+0200) Subject: radv: set ACCESS_NON_READABLE on the fmask expand pass output image X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7664eb8f2b55fef2da78f40e0448c8f48917a5ec;p=mesa.git radv: set ACCESS_NON_READABLE on the fmask expand pass output image The driver will emit GLC=1. Signed-off-by: Samuel Pitoiset Reviewed-By: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_meta_fmask_expand.c b/src/amd/vulkan/radv_meta_fmask_expand.c index 12533935348..44068edc89e 100644 --- a/src/amd/vulkan/radv_meta_fmask_expand.c +++ b/src/amd/vulkan/radv_meta_fmask_expand.c @@ -51,6 +51,7 @@ build_fmask_expand_compute_shader(struct radv_device *device, int samples) img_type, "out_img"); output_img->data.descriptor_set = 0; output_img->data.binding = 1; + output_img->data.image.access = ACCESS_NON_READABLE; nir_ssa_def *invoc_id = nir_load_local_invocation_id(&b); nir_ssa_def *wg_id = nir_load_work_group_id(&b);