mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
radv: Fix GetDescriptorSetLayoutSupport.
The continue means we do alignment differently than during creation, making the buffer smaller than expected. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
d02bbde1a8
commit
082c11e8a5
1 changed files with 0 additions and 3 deletions
|
|
@ -230,9 +230,6 @@ void radv_GetDescriptorSetLayoutSupport(VkDevice device,
|
||||||
for (uint32_t i = 0; i < pCreateInfo->bindingCount; i++) {
|
for (uint32_t i = 0; i < pCreateInfo->bindingCount; i++) {
|
||||||
const VkDescriptorSetLayoutBinding *binding = bindings + i;
|
const VkDescriptorSetLayoutBinding *binding = bindings + i;
|
||||||
|
|
||||||
if (binding->descriptorCount == 0)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
uint64_t descriptor_size = 0;
|
uint64_t descriptor_size = 0;
|
||||||
uint64_t descriptor_alignment = 1;
|
uint64_t descriptor_alignment = 1;
|
||||||
switch (binding->descriptorType) {
|
switch (binding->descriptorType) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue