dzn: A single sampler descriptor set needs to support 1024 samplers

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20823>
This commit is contained in:
Jesse Natalie
2023-01-20 10:12:15 -08:00
committed by Marge Bot
parent 884d870929
commit ad7157c1e8

View File

@@ -479,8 +479,8 @@ dzn_GetDescriptorSetLayoutSupport(VkDevice device,
}
pSupport->supported =
sampler_count <= (MAX_DESCS_PER_SAMPLER_HEAP / MAX_SETS) &&
other_desc_count <= (MAX_DESCS_PER_CBV_SRV_UAV_HEAP / MAX_SETS);
sampler_count <= MAX_DESCS_PER_SAMPLER_HEAP &&
other_desc_count <= MAX_DESCS_PER_CBV_SRV_UAV_HEAP;
}
static void