adding image to png export to C test

This commit is contained in:
2025-11-23 22:00:24 +01:00
parent 823f058612
commit ea6260a638
15 changed files with 247 additions and 82 deletions

View File

@@ -29,7 +29,9 @@ pub const DEVICE_ID = 0x600DCAFE;
pub const MEMORY_TYPE_GENERIC_BIT = 0;
/// 16 bytes for 128-bit vector types.
pub const MEMORY_REQUIREMENTS_ALIGNMENT = 16;
pub const MEMORY_REQUIREMENTS_BUFFER_ALIGNMENT = 16;
pub const MEMORY_REQUIREMENTS_IMAGE_ALIGNMENT = 256;
/// Vulkan 1.2 requires buffer offset alignment to be at most 256.
pub const MIN_TEXEL_BUFFER_ALIGNMENT = 256;