[Freedreno] [PATCH 2/3] a5xx: include color swap when decoding vertices

2017-07-04 Thread Ilia Mirkin
This fixes support for BGRA vertex formats Signed-off-by: Ilia Mirkin --- src/gallium/drivers/freedreno/a5xx/fd5_emit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_emit.c b/src/gallium/drivers/freedreno/a5xx/fd5_emit.c index f5c0bd27c35..287ec24b18

[Freedreno] [PATCH 3/3] a5xx: enable formats newly added to the headers

2017-07-04 Thread Ilia Mirkin
This enables S3TC, BPTC, ETC2, and ASTC texture decoding. Additionally this enables RGB32 texture buffer objects, as well as 11_11_10_FLOAT and 10_10_10_2 vertex formats (and related extensions). Signed-off-by: Ilia Mirkin --- src/gallium/drivers/freedreno/a5xx/fd5_format.c | 138 ---

[Freedreno] [PATCH 1/3] a5xx: update headers

2017-07-04 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/drivers/freedreno/a5xx/a5xx.xml.h | 57 ++- 1 file changed, 47 insertions(+), 10 deletions(-) diff --git a/src/gallium/drivers/freedreno/a5xx/a5xx.xml.h b/src/gallium/drivers/freedreno/a5xx/a5xx.xml.h index abcc53965ad..ee614653