panvk: Increase maxBufferSize to UINT32_MAX
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37007>
This commit is contained in:
committed by
Marge Bot
parent
7408a09050
commit
af28c453ba
@@ -12,8 +12,6 @@
|
||||
|
||||
#include "vk_log.h"
|
||||
|
||||
#define PANVK_MAX_BUFFER_SIZE (1 << 30)
|
||||
|
||||
VKAPI_ATTR uint64_t VKAPI_CALL
|
||||
panvk_GetBufferOpaqueCaptureAddress(VkDevice _device,
|
||||
const VkBufferDeviceAddressInfo *pInfo)
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
#include "vk_buffer.h"
|
||||
|
||||
#define PANVK_MAX_BUFFER_SIZE UINT32_MAX
|
||||
|
||||
struct panvk_priv_bo;
|
||||
|
||||
struct panvk_buffer {
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "vk_shader_module.h"
|
||||
|
||||
#include "panvk_instance.h"
|
||||
#include "panvk_buffer.h"
|
||||
#include "panvk_cmd_draw.h"
|
||||
#include "panvk_descriptor_set_layout.h"
|
||||
#include "panvk_physical_device.h"
|
||||
@@ -966,7 +967,7 @@ panvk_per_arch(get_physical_device_properties)(
|
||||
.storageTexelBufferOffsetSingleTexelAlignment = false,
|
||||
.uniformTexelBufferOffsetAlignmentBytes = 64,
|
||||
.uniformTexelBufferOffsetSingleTexelAlignment = false,
|
||||
.maxBufferSize = 1 << 30,
|
||||
.maxBufferSize = PANVK_MAX_BUFFER_SIZE,
|
||||
|
||||
/* Vulkan 1.4 properties */
|
||||
.lineSubPixelPrecisionBits = 8,
|
||||
|
||||
Reference in New Issue
Block a user