Hitting any fallback path on Broxton as we require clflushing the whole
buffer even for an upload of a subtexture. However, since gallium
provides a pbo upload path, allow it to sample packed RGB if supported.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
*
* We do need to advertise 32-bit RGB for texture buffers though.
*/
- supported &= fmtl->bpb != 24 && fmtl->bpb != 48 &&
- (fmtl->bpb != 96 || target == PIPE_BUFFER);
+ if (target != PIPE_BUFFER)
+ supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96;
}
if (usage & PIPE_BIND_VERTEX_BUFFER)