vulkan: Add a vk_limits.h file for runtime limits
Individual driver limits may be smaller than these. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17328>
This commit is contained in:
committed by
Marge Bot
parent
e840ba9ed8
commit
6b6c1a7ddd
@@ -25,6 +25,7 @@
|
||||
#define VK_COMMAND_BUFFER_H
|
||||
|
||||
#include "vk_cmd_queue.h"
|
||||
#include "vk_limits.h"
|
||||
#include "vk_object.h"
|
||||
#include "util/list.h"
|
||||
#include "util/u_dynarray.h"
|
||||
@@ -38,11 +39,6 @@ struct vk_framebuffer;
|
||||
struct vk_image_view;
|
||||
struct vk_render_pass;
|
||||
|
||||
/* Since VkSubpassDescription2::viewMask is a 32-bit integer, there are a
|
||||
* maximum of 32 possible views.
|
||||
*/
|
||||
#define MESA_VK_MAX_MULTIVIEW_VIEW_COUNT 32
|
||||
|
||||
struct vk_attachment_view_state {
|
||||
VkImageLayout layout;
|
||||
VkImageLayout stencil_layout;
|
||||
|
||||
Reference in New Issue
Block a user