gallivm: generalize the compressed format soa fetch a bit
authorRoland Scheidegger <sroland@vmware.com>
Wed, 21 Dec 2016 03:30:02 +0000 (04:30 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 21 Dec 2016 03:48:24 +0000 (04:48 +0100)
commitcb81460dcc61da0fb5ce066ee435c56840c0aba3
tree37e503d0a54aa10603ceca30146639ad9c7005c6
parent3c98e3cd63012246346e6054c5c16d368f899062
gallivm: generalize the compressed format soa fetch a bit

This can now handle rgtc (unorm) too - this path no longer handles plain
formats, but that's unnecessary they now all have their proper SoA unpack
(this will still be dog-slow though due to the actual fetch being per-pixel
util fallbacks).

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_format_soa.c