etnaviv: add support for rb swap
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 21 Mar 2017 19:00:31 +0000 (20:00 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 5 Apr 2017 17:58:22 +0000 (19:58 +0200)
commit7f62ffb68ad1002b6ce7727ce7202de792d53653
treef7d70f5199ca3dfcf73974b12a2925918cc6b9fe
parent8d9a31ef9726192ff8e97f36bc05bb15c037ed27
etnaviv: add support for rb swap

If we render to rb swapped format we will create a shader variant doing
the involved swizzing in the pixel shader.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_compiler.c
src/gallium/drivers/etnaviv/etnaviv_compiler_cmdline.c
src/gallium/drivers/etnaviv/etnaviv_context.c
src/gallium/drivers/etnaviv/etnaviv_shader.h