Revert "softpipe/buffer: load only as many components as the the buffer resource...
authorGert Wollny <gert.wollny@collabora.com>
Thu, 16 May 2019 12:48:50 +0000 (14:48 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Fri, 17 May 2019 06:27:55 +0000 (08:27 +0200)
commit0f598ed7b3d2b3886ea5d742e7b0ced2b1702f28
tree9eb7667c07be6ba75ec9b2a092553bab03d37e57
parentb6e2a9eca7e81342ac0c1aab21f037543e09736e
Revert "softpipe/buffer: load only as many components as the the buffer resource type provides"

This reverts commit 865b9ddae4874186182e529b5fd154ab04a61f79.

The buffer always reports format PIPE_FORMAT_R8_UNORM so with this patch only
one component would be supported. The original issue is still relevant, but
the fix should be different.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_buffer.c