diff options
author | Ilia Mirkin <[email protected]> | 2015-09-14 01:59:01 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-09-16 15:42:55 -0400 |
commit | 545a3cbb011e0e7722c2accb330c0994aea5cc38 (patch) | |
tree | f5f040cc96647c9f6e7a240356a090a15eae5e2a /src/gallium/drivers | |
parent | ee6b95c82c3dbfad07e75ecdfd993e60fec2ac4f (diff) |
freedreno/a3xx: fix blending of L8 format
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 <[email protected]>
Cc: "11.0" <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_format.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_format.c b/src/gallium/drivers/freedreno/a3xx/fd3_format.c index 04cb9b98fb7..857d156c869 100644 --- 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); } |