NVIDIAGameWorks / NRI

Low-level abstract render interface
MIT License
219 stars 25 forks source link

overlapping incompatibility with VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT | VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT #59

Closed pollend closed 7 months ago

pollend commented 7 months ago

these rules are not compatible:

If flags contains VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT, imageType must be VK_IMAGE_TYPE_2D If flags contains VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT, arrayLayers must be greater than or equal to 6

If flags contains VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT, imageType must be VK_IMAGE_TYPE_3D

if its a cubemap then it has to be a 2d image but if its an array then it must be a 3d image.