This was quite wrong.

Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
---
 src/amd/common/ac_shader_info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/common/ac_shader_info.c b/src/amd/common/ac_shader_info.c
index 3b0887995d..2708f6a9c0 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
-- 
2.16.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to