summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_shader_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/radv_shader_info.c')
-rw-r--r--src/amd/vulkan/radv_shader_info.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_shader_info.c b/src/amd/vulkan/radv_shader_info.c
index 7208bd2f587..9c18791524d 100644
--- a/src/amd/vulkan/radv_shader_info.c
+++ b/src/amd/vulkan/radv_shader_info.c
@@ -122,8 +122,10 @@ gather_intrinsic_info(const nir_shader *nir, const nir_intrinsic_instr *instr,
enum glsl_sampler_dim dim = glsl_get_sampler_dim(type);
if (dim == GLSL_SAMPLER_DIM_SUBPASS ||
- dim == GLSL_SAMPLER_DIM_SUBPASS_MS)
+ dim == GLSL_SAMPLER_DIM_SUBPASS_MS) {
+ info->ps.layer_input = true;
info->ps.uses_input_attachments = true;
+ }
mark_sampler_desc(instr->variables[0]->var, info);
if (nir_intrinsic_image_store ||