projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2154fac
)
radv: use MAX_{VBS,VERTEX_ATTRIBS} when defining max vertex input limits
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Tue, 12 Feb 2019 14:09:30 +0000
(15:09 +0100)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 14 Feb 2019 08:09:51 +0000
(09:09 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index 9509b3db13c9209c37a42df5c412686d7927fd80..190de86b2cd6cc536eff986a7a80a557be5f8a3e 100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-939,8
+939,8
@@
void radv_GetPhysicalDeviceProperties(
.maxDescriptorSetSampledImages = max_descriptor_set_size,
.maxDescriptorSetStorageImages = max_descriptor_set_size,
.maxDescriptorSetInputAttachments = max_descriptor_set_size,
- .maxVertexInputAttributes =
32
,
- .maxVertexInputBindings =
32
,
+ .maxVertexInputAttributes =
MAX_VERTEX_ATTRIBS
,
+ .maxVertexInputBindings =
MAX_VBS
,
.maxVertexInputAttributeOffset = 2047,
.maxVertexInputBindingStride = 2048,
.maxVertexOutputComponents = 128,