Skip to content

vkr: more validation for vkCreateRingMESA

Ryan Neph requested to merge ryanneph/virglrenderer:ring-layout-oboe into master

Move ring layout validation to a function and adds checks for non-overlapping memory regions among the ring buffer control variables and 32-bit aligned offsets.

v2: add memory region overlap tests v3: check for 32-bit aligned offsets

/cc @olv @zzyiwei

Edited by Ryan Neph

Merge request reports