summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/common/ac_shader_info.c')
-rw-r--r--src/amd/common/ac_shader_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_shader_info.c b/src/amd/common/ac_shader_info.c
index f6cdd347035..5ae8a720462 100644
--- a/src/amd/common/ac_shader_info.c
+++ b/src/amd/common/ac_shader_info.c
@@ -27,7 +27,7 @@
static void mark_sampler_desc(const nir_variable *var,
struct ac_shader_info *info)
{
- info->desc_set_used_mask = (1 << var->data.descriptor_set);
+ info->desc_set_used_mask |= (1 << var->data.descriptor_set);
}
static void