mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
v3dv: remove const qualifier for resource pointer in view objects
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11443>
This commit is contained in:
parent
b8abedb974
commit
fa8868192b
3 changed files with 5 additions and 5 deletions
|
|
@ -1060,9 +1060,9 @@ cmd_buffer_subpass_handle_pending_resolves(struct v3dv_cmd_buffer *cmd_buffer)
|
|||
|
||||
VkResolveImageInfo2KHR resolve_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2_KHR,
|
||||
.srcImage = v3dv_image_to_handle((struct v3dv_image *) src_iview->image),
|
||||
.srcImage = v3dv_image_to_handle(src_iview->image),
|
||||
.srcImageLayout = VK_IMAGE_LAYOUT_GENERAL,
|
||||
.dstImage = v3dv_image_to_handle((struct v3dv_image *) dst_iview->image),
|
||||
.dstImage = v3dv_image_to_handle(dst_iview->image),
|
||||
.dstImageLayout = VK_IMAGE_LAYOUT_GENERAL,
|
||||
.regionCount = 1,
|
||||
.pRegions = ®ion,
|
||||
|
|
|
|||
|
|
@ -821,7 +821,7 @@ v3dv_CreateBufferView(VkDevice _device,
|
|||
{
|
||||
V3DV_FROM_HANDLE(v3dv_device, device, _device);
|
||||
|
||||
const struct v3dv_buffer *buffer =
|
||||
struct v3dv_buffer *buffer =
|
||||
v3dv_buffer_from_handle(pCreateInfo->buffer);
|
||||
|
||||
struct v3dv_buffer_view *view =
|
||||
|
|
|
|||
|
|
@ -503,7 +503,7 @@ VkImageViewType v3dv_image_type_to_view_type(VkImageType type);
|
|||
struct v3dv_image_view {
|
||||
struct vk_object_base base;
|
||||
|
||||
const struct v3dv_image *image;
|
||||
struct v3dv_image *image;
|
||||
VkImageAspectFlags aspects;
|
||||
VkExtent3D extent;
|
||||
VkImageViewType type;
|
||||
|
|
@ -555,7 +555,7 @@ struct v3dv_buffer {
|
|||
struct v3dv_buffer_view {
|
||||
struct vk_object_base base;
|
||||
|
||||
const struct v3dv_buffer *buffer;
|
||||
struct v3dv_buffer *buffer;
|
||||
|
||||
VkFormat vk_format;
|
||||
const struct v3dv_format *format;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue