radv/ac: fix multiple descriptor sets with dynamic buffers
authorFredrik Höglund <fredrik@kde.org>
Tue, 7 Mar 2017 00:53:22 +0000 (01:53 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 7 Mar 2017 19:23:32 +0000 (20:23 +0100)
commit162beb2abbe6b81d81863b3ac88ec8effcbf7c9d
tree3eea0959c00d72b8810e91915b7416a4f580c3d3
parent71bb1a9c3cf37329ee570d3279fbba0dade007d0
radv/ac: fix multiple descriptor sets with dynamic buffers

The dynamic_offset_offset in the descriptor set binding layout is
relative to the dynamic_offset_start for the set in the pipeline
layout.

Cc: 17.0 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Fredrik Höglund <fredrik@kde.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c