mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
radv: do not hardcode the combined image/sampler offset in the db path
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36762>
This commit is contained in:
parent
f2b5446cc4
commit
b6d093c4f5
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ radv_GetDescriptorEXT(VkDevice _device, const VkDescriptorGetInfoEXT *pDescripto
|
|||
} else {
|
||||
radv_write_image_descriptor(pDescriptor, 64, pDescriptorInfo->type,
|
||||
pDescriptorInfo->data.pCombinedImageSampler);
|
||||
radv_write_sampler_descriptor((uint32_t *)pDescriptor + 20,
|
||||
radv_write_sampler_descriptor((uint32_t *)pDescriptor + RADV_COMBINED_IMAGE_SAMPLER_DESC_SAMPLER_OFFSET / 4,
|
||||
pDescriptorInfo->data.pCombinedImageSampler->sampler);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue