etnaviv: add support for snorm textures
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 21 Jun 2017 20:36:48 +0000 (22:36 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Mon, 26 Jun 2017 17:59:42 +0000 (19:59 +0200)
commitd8b2ccdb880f95a15437c384257e6aeea95dba3c
treec0f2eff3eab36640ebb6c20409d462af412b42b0
parent3bbf8dcfe492560fc03145bc637f424092fd7e03
etnaviv: add support for snorm textures

Based on a patch from Wladimir J. van der Laan and untested due
to lack of hardware. Binary blob emits those formats if GPU supports
HALTI1 (faked with ibvivhook).

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_format.c
src/gallium/drivers/etnaviv/etnaviv_screen.c