mirror of
https://github.com/italicsjenga/portability.git
synced 2025-02-17 06:37:43 +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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue