From 309854148c8bc9c344052dab928ee07292cb623d Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 14 Feb 2018 17:52:25 +0100 Subject: ac/shader: fix gathering of desc_set_used_mask This was quite wrong. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/common/ac_shader_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amd/common') 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 -- cgit v1.2.3