This dropped us from GL 4.2 to GL 3.3 by mistake. Thanks to Dave for
catching this!
* are renderable from an API perspective since the state tracker will
* fall back to RGBA or RGBX, which are renderable. We want to render
* internally for copies and blits, even if the application doesn't.
+ *
+ * We do need to advertise 32-bit RGB for texture buffers though.
*/
- supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96;
+ supported &= fmtl->bpb != 24 && fmtl->bpb != 48 &&
+ (fmtl->bpb != 96 || target == PIPE_BUFFER);
}
if (usage & PIPE_BIND_VERTEX_BUFFER)