mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 19:27:17 +00:00
fdd64782ff
Creating a view with an unaligned offset is legal in d3d and apparently works, both on Windows and Linux, but may violate the Vulkan specification: VUID-VkBufferViewCreateInfo-offset-00926(ERROR / SPEC): msgNum: -833749292 - Validation Error: [ VUID-VkBufferViewCreateInfo-offset-00926 ] Object 0: handle = 0x3c000000003c, type = VK_OBJECT_TYPE_BUFFER; | MessageID = 0xce4dfed4 | vkCreateBufferView(): VkBufferViewCreateInfo offset (36) must be a multiple of VkPhysicalDeviceLimits::minTexelBufferOffsetAlignment (16). The Vulkan spec states: offset must be a multiple of VkPhysicalDeviceLimits::minTexelBufferOffsetAlignment (https://www.khronos.org/registry/vulkan/specs/1.2-khr-extensions/html/vkspec.html#VUID-VkBufferViewCreateInfo-offset-00926) Without any reason to test unaligned buffer views here, just resolve this by changing the test. |
||
---|---|---|
.. | ||
tests | ||
async.c | ||
buffer.c | ||
d3d11.spec | ||
d3d11_main.c | ||
d3d11_private.h | ||
device.c | ||
inputlayout.c | ||
Makefile.in | ||
shader.c | ||
state.c | ||
texture.c | ||
utils.c | ||
version.rc | ||
view.c |