diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-08-25 14:29:53 +0000 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2017-10-15 12:09:03 -0400 |
commit | c10eeb454d4dbbdaebd3b6b6ef039262c3831d44 (patch) | |
tree | 6934e6ce43ce6d8e60e1382f9bdf7d45310b2dd2 /src/gallium/drivers/freedreno/a2xx | |
parent | c7a81dcea9a9c2a0a7e8a0cebe4fe1ff81c1deb9 (diff) |
freedreno/a20x: Fix rendering to BGRX
Make sure that BGRX rendering is swapped the correct way around.
Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_gmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_gmem.c b/src/gallium/drivers/freedreno/a2xx/fd2_gmem.c index 6dc639670a1..be3992b749a 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_gmem.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_gmem.c @@ -46,6 +46,7 @@ static uint32_t fmt2swap(enum pipe_format format) { switch (format) { case PIPE_FORMAT_B8G8R8A8_UNORM: + case PIPE_FORMAT_B8G8R8X8_UNORM: /* TODO probably some more.. */ return 1; default: |