summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-02-14 17:52:25 +0100
committerSamuel Pitoiset <[email protected]>2018-02-15 14:53:30 +0100
commit309854148c8bc9c344052dab928ee07292cb623d (patch)
treecd94d6804b68c153b86753e9ecbe077521aed142 /src/amd
parent61a4fc3ecc3d7740d2b9122c502144e69fe3060c (diff)
ac/shader: fix gathering of desc_set_used_mask
This was quite wrong. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd')
-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