panvk: fix maxInlineUniformTotalSize
maxInlineUniformTotalSize is derived from
MAX_INLINE_UNIFORM_BLOCK_DESCRIPTORS, but due to missing parenthesis
around the expression, the value calculated is incorrect.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Olivia Lee <olivia.lee@collabora.com>
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com>
Fixes: 0440d1dd03 ("panvk: Advertise VK_EXT_inline_uniform_block")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35545>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
/* We reserve one ubo for push constant, one for sysvals and one per-set for the
|
||||
* descriptor metadata */
|
||||
#define RESERVED_UBO_COUNT 6
|
||||
#define MAX_INLINE_UNIFORM_BLOCK_DESCRIPTORS 32 - RESERVED_UBO_COUNT
|
||||
#define MAX_INLINE_UNIFORM_BLOCK_DESCRIPTORS (32 - RESERVED_UBO_COUNT)
|
||||
#define MAX_INLINE_UNIFORM_BLOCK_SIZE (1 << 16)
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user