projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee6b95c
)
freedreno/a3xx: fix blending of L8 format
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Mon, 14 Sep 2015 05:59:01 +0000
(
01:59
-0400)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Wed, 16 Sep 2015 19:42:55 +0000
(15:42 -0400)
Even though luminance formats don't have alpha, we still want the alpha
output to go to the blender. This fixes the luminance blending tests.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_format.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a3xx/fd3_format.c
b/src/gallium/drivers/freedreno/a3xx/fd3_format.c
index 04cb9b98fb7def43d43e63e7e69b1bc480fec3d7..857d156c869c5576d6462e1cc8826fafdc1af88d 100644
(file)
--- a/
src/gallium/drivers/freedreno/a3xx/fd3_format.c
+++ b/
src/gallium/drivers/freedreno/a3xx/fd3_format.c
@@
-355,6
+355,8
@@
fd3_fs_output_format(enum pipe_format format)
case PIPE_FORMAT_R16G16_FLOAT:
case PIPE_FORMAT_R11G11B10_FLOAT:
return RB_R16G16B16A16_FLOAT;
+ case PIPE_FORMAT_L8_UNORM:
+ return RB_R8G8B8A8_UNORM;
default:
return fd3_pipe2color(format);
}