summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-05-01 11:16:20 -0700
committerEric Anholt <eric@anholt.net>2017-10-10 09:31:29 -0700
commitef874ee450b18e6d6189731f3160c56474bacbf5 (patch)
tree7cbbeabefe1020d7854b07586411690dbe5c2604 /src/gallium/include
parent30782962263d21e984826aef616e25f4ec82de2d (diff)
gallium: Add support for 5551 with the 1-bit field in the low bit.
This is how VC4 stores 5551 textures, which we need to support for GL_OES_required_internalformat. v2: Extend commit message, fix svga driver build, add BE ordering from Roland. v3: Rebase on PIPE_FORMAT_R10G10B10X2_UNORM addition. Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v2) Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (v2)
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 25e6548bb3..fedac8a06d 100644
--- a/src/gallium/include/pipe/p_format.h
+++ b/src/gallium/include/pipe/p_format.h
@@ -392,6 +392,8 @@ enum pipe_format {
PIPE_FORMAT_P016 = 307,
PIPE_FORMAT_R10G10B10X2_UNORM = 308,
+ PIPE_FORMAT_A1B5G5R5_UNORM = 309,
+ PIPE_FORMAT_X1B5G5R5_UNORM = 310,
PIPE_FORMAT_COUNT
};