mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 16:48:07 +02:00
radv: remove meaningless TODOs in radv_GetDeviceImageMemoryRequirements()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33758>
This commit is contained in:
parent
b8d070eeab
commit
dd7dbbb0c9
2 changed files with 4 additions and 6 deletions
|
|
@ -1453,9 +1453,8 @@ radv_GetDeviceImageMemoryRequirements(VkDevice device, const VkDeviceImageMemory
|
|||
UNUSED VkResult result;
|
||||
VkImage image;
|
||||
|
||||
/* Determining the image size/alignment require to create a surface, which is complicated without
|
||||
* creating an image.
|
||||
* TODO: Avoid creating an image.
|
||||
/* Determining the image size/alignment require to create a surface, which isn't really possible
|
||||
* without creating an image.
|
||||
*/
|
||||
result =
|
||||
radv_image_create(device, &(struct radv_image_create_info){.vk_info = pInfo->pCreateInfo}, NULL, &image, true);
|
||||
|
|
|
|||
|
|
@ -1407,9 +1407,8 @@ radv_GetDeviceImageSparseMemoryRequirements(VkDevice device, const VkDeviceImage
|
|||
UNUSED VkResult result;
|
||||
VkImage image;
|
||||
|
||||
/* Determining the image size/alignment require to create a surface, which is complicated without
|
||||
* creating an image.
|
||||
* TODO: Avoid creating an image.
|
||||
/* Determining the image size/alignment require to create a surface, which isn't really possible
|
||||
* without creating an image.
|
||||
*/
|
||||
result =
|
||||
radv_image_create(device, &(struct radv_image_create_info){.vk_info = pInfo->pCreateInfo}, NULL, &image, true);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue