diff options
author | Jason Ekstrand <[email protected]> | 2016-06-06 09:15:03 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-06-10 09:43:03 -0700 |
commit | c13c5ac561f6475d08c35d2a88a829e6ce36e98c (patch) | |
tree | 38db16f5939ad77d15dd0c00a0b68b907f9cc60e /src/intel/vulkan/anv_cmd_buffer.c | |
parent | e2265926f25235f9be833984a5e365889a70ea74 (diff) |
anv/descriptor_set: Ensure that bindings are always in increasing order
Since applications are allowed to specify some set of bindings which need
not be dense they also need not be in order. For most things, this doesn't
matter, but it could result getting the wrong dynamic offsets. This adds a
quick-and-dirty sort to ensure that everything is always in increasing
order of binding index.
Signed-off-by: Jason Ekstrand <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_cmd_buffer.c')
0 files changed, 0 insertions, 0 deletions