Acid icon indicating copy to clipboard operation
Acid copied to clipboard

Cannot create font Image2D since the image format is not supported

Open shanehyde opened this issue 5 years ago • 4 comments

vkCreateImage(): Format VK_FORMAT_R8G8B8_UNORM is not supported for this combination of parameters. vkCreateImage: pCreateInfo->format 23 is invalid

Not sure if you know the fonts dont work for my build so none of the Tests will start since the Overlays dont work.

Is it expected to work or should I look into making the fixes myself?

shanehyde avatar Feb 24 '20 10:02 shanehyde

I'm not sure what format will have the most system support for containing a three component float. VK_FORMAT_R32G32B32_SFLOAT would be sothing you could test changing the format to. Otherwise I would have to switch to a more general format like VK_FORMAT_R8G8B8A8_UNORM/VK_FORMAT_R32G32B32A32_SFLOAT.

mattparks avatar Feb 24 '20 13:02 mattparks

Any reason you are using a 2D Texture instead of using UV values of a single?

shanehyde avatar Feb 24 '20 14:02 shanehyde

Oh, and I meant 3d, with 98 layers instead of 2D

shanehyde avatar Feb 24 '20 14:02 shanehyde

I hava the same issuse too, and my GPU GTX 1660 Super, seems only support format VK_FORMAT_R8G8B8A8_UNORM

zjhlogo avatar Apr 15 '20 14:04 zjhlogo