- /* We don't support rendering into anything but RGBA8 yet. We
- * need more formats for spec compliance, but for now, honesty
- * is the best policy <3 */
+ /* TODO: Support all the formats! :) */
+ bool supported = util_format_is_rgba8_variant(format_desc);
+ supported |= format == PIPE_FORMAT_B5G6R5_UNORM;