diff options
author | Samuel Pitoiset <[email protected]> | 2019-05-20 10:28:02 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-06-05 20:50:56 +0200 |
commit | 7664eb8f2b55fef2da78f40e0448c8f48917a5ec (patch) | |
tree | 8a72ba440ce72ecdf92563ac5c26f04508cd9084 /src | |
parent | 8206390546972d233724cfc7c8d0f74bcf12b807 (diff) |
radv: set ACCESS_NON_READABLE on the fmask expand pass output image
The driver will emit GLC=1.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-By: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_meta_fmask_expand.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |