vrend: Handle texture format and swizzle for texture buffer binding

We don't want to support all these formats as sampler formats, but
for texture buffer binding we have to define the internal format and
the swizzeling for emulation.

Fixes: piglit arb_texture_buffer_object-formats

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/906>
1 file changed