I'm working on vulkan-cts-1.3.1 adaption test for a third party vendor. I find bad access(out of memory range) with function populateBufferWithCopy where src buffer size is 12 bytes but copy size is up to 4096. 4096 is returned by vkGetBufferMemoryRequirements and it may be diffrent on diffrent vendors. Anyway, memcpy should use the src buffer size.
I'm working on vulkan-cts-1.3.1 adaption test for a third party vendor. I find bad access(out of memory range) with function
populateBufferWithCopy
where src buffer size is 12 bytes but copy size is up to 4096. 4096 is returned byvkGetBufferMemoryRequirements
and it may be diffrent on diffrent vendors. Anyway, memcpy should use the src buffer size.