mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-22 23:11:30 +11:00
Merge #83
83: Remove tiling assert r=kvark a=grovesNL As far as I can tell, we shouldn't need this assert anymore because we already perform the mapping immediately below. Unless there is another reason it needs to stay (maybe validating against image format queries?), let's remove it because it causes other unrelated tests to fail. Co-authored-by: Joshua Groves <josh@joshgroves.com>
This commit is contained in:
commit
f0da9debeb
|
@ -1243,7 +1243,6 @@ pub extern "C" fn gfxCreateImage(
|
|||
) -> VkResult {
|
||||
let info = unsafe { &*pCreateInfo };
|
||||
assert_eq!(info.sharingMode, VkSharingMode::VK_SHARING_MODE_EXCLUSIVE); // TODO
|
||||
assert_eq!(info.tiling, VkImageTiling::VK_IMAGE_TILING_OPTIMAL); // TODO
|
||||
assert_eq!(info.initialLayout, VkImageLayout::VK_IMAGE_LAYOUT_UNDEFINED); // TODO
|
||||
|
||||
let image = gpu.device
|
||||
|
|
Loading…
Reference in a new issue