aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorBernardo Meurer <bernardo@meurer.org>2022-08-28 16:32:09 -0300
committerBernardo Meurer <bernardo@meurer.org>2022-08-28 16:32:09 -0300
commiteee0f5e71f4e3a6ded27d2d5046a243277c00ab8 (patch)
tree3577d31c4100bf908b60606166656bcfd923d801 /backend
parentd94d1bf0ea9d777a03429a20c544195402965d9b (diff)
render/vulkan: fix memory type detection
From a comment by emersion: > There is a logic error here: we pass 0xFFFFFFFF to vulkan_find_mem_type, which > returns an index, and then we logical-and that with mem_reqs.memoryTypeBits. > Instead we should pass mem_reqs.memoryTypeBits to vulkan_find_mem_type and use > the result for the memoryTypeIndex field directly. Ideally checking for errors > (-1 return value) in case no memory type is suitable. Closes: #3470
Diffstat (limited to 'backend')
0 files changed, 0 insertions, 0 deletions