summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorChristian König <[email protected]>2017-01-13 19:11:43 +0100
committerChristian König <[email protected]>2017-03-13 08:51:07 +0100
commit62cff793785ee203b086e4895bae0f78cc0748d7 (patch)
tree7b4ac8bf5054629f1377d750a51f3f39dcb9ec80 /src/gallium/include
parent920ab07566da8bbc95e12ed36da0c76f342066d9 (diff)
gallium: add P016 format
Same layout as NV12, but 16bit per channel instead of 8. Signed-off-by: Christian König <[email protected]> Reviewed-by: Mark Thompson <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h
index b22baa9c650..e4e09d8b435 100644
--- a/src/gallium/include/pipe/p_format.h
+++ b/src/gallium/include/pipe/p_format.h
@@ -389,6 +389,8 @@ enum pipe_format {
PIPE_FORMAT_ASTC_12x10_SRGB = 305,
PIPE_FORMAT_ASTC_12x12_SRGB = 306,
+ PIPE_FORMAT_P016 = 307,
+
PIPE_FORMAT_COUNT
};