aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a3xx/fd3_format.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-12-02 01:00:47 -0500
committerIlia Mirkin <[email protected]>2014-12-06 18:18:40 -0500
commit39a7c049d36bf5d18653e0a8b360dc8317f4b8ec (patch)
tree60f83645608d14e887e70503957f38f8935560d4 /src/gallium/drivers/freedreno/a3xx/fd3_format.h
parent3674c76edf56f5d1a1a6c56d8dc408e3da93c5a9 (diff)
freedreno/a3xx: output RGBA16_FLOAT from fs for certain outputs
Fixes R11G11B10F rendering, and is required for SRGB format support. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a3xx/fd3_format.h')
-rw-r--r--src/gallium/drivers/freedreno/a3xx/fd3_format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_format.h b/src/gallium/drivers/freedreno/a3xx/fd3_format.h
index 043454e2733..6a47fda1029 100644
--- a/src/gallium/drivers/freedreno/a3xx/fd3_format.h
+++ b/src/gallium/drivers/freedreno/a3xx/fd3_format.h
@@ -35,6 +35,7 @@ enum a3xx_tex_fmt fd3_pipe2tex(enum pipe_format format);
enum a3xx_tex_fetchsize fd3_pipe2fetchsize(enum pipe_format format);
enum a3xx_color_fmt fd3_pipe2color(enum pipe_format format);
enum pipe_format fd3_gmem_restore_format(enum pipe_format format);
+enum a3xx_color_fmt fd3_fs_output_format(enum pipe_format format);
enum a3xx_color_swap fd3_pipe2swap(enum pipe_format format);
uint32_t fd3_tex_swiz(enum pipe_format format, unsigned swizzle_r,