Skip to content

memoryformat: Add gdk_memory_format_get_depth()

Benjamin Otte requested to merge wip/otte/for-main into main

Replace gdk_memory_format_prefers_high_depth with the more generic gdk_memory_format_get_depth() that returns the depth of the individual channels.

Also make the GL renderer use that to pick the generic F16 format instead of immediately going for F32 when uploading textures.

Merge request reports