fn current_wr_image_buffer_kind(device: &Device) -> ImageBufferKind