mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
panfrost: lower maxVertexInputStride to match vulkan runtime
Since we now use the common vulkan runtime to handle pipeline state and
this sets a limit for this at MESA_VK_MAX_VERTEX_BINDING_STRIDE we should
do the same, or else we can run into an assert-fail in the runtime code.
Basically the same as !29454, but for Panfrost.
Fixes: 214761bdfe ("panvk: Fully transition to vk_vertex_binding_state")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29461>
This commit is contained in:
parent
8fe554c2bf
commit
4be89d7ad1
1 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
|||
#include "vk_device.h"
|
||||
#include "vk_drm_syncobj.h"
|
||||
#include "vk_format.h"
|
||||
#include "vk_limits.h"
|
||||
#include "vk_log.h"
|
||||
#include "vk_util.h"
|
||||
|
||||
|
|
@ -333,7 +334,7 @@ get_device_properties(const struct panvk_physical_device *device,
|
|||
/* MALI_ATTRIBUTE::offset is 32-bit. */
|
||||
.maxVertexInputAttributeOffset = UINT32_MAX,
|
||||
/* MALI_ATTRIBUTE_BUFFER::stride is 32-bit. */
|
||||
.maxVertexInputBindingStride = UINT32_MAX,
|
||||
.maxVertexInputBindingStride = MESA_VK_MAX_VERTEX_BINDING_STRIDE,
|
||||
/* 32 vec4 varyings. */
|
||||
.maxVertexOutputComponents = 128,
|
||||
/* Tesselation shaders not supported. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue