diff options
author | Samuel Pitoiset <[email protected]> | 2018-02-14 17:52:25 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-02-15 14:53:30 +0100 |
commit | 309854148c8bc9c344052dab928ee07292cb623d (patch) | |
tree | cd94d6804b68c153b86753e9ecbe077521aed142 /src/amd/common | |
parent | 61a4fc3ecc3d7740d2b9122c502144e69fe3060c (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/common')
-rw-r--r-- | src/amd/common/ac_shader_info.c | 2 |
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 |