summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-01-15 12:32:27 -0500
committerMarek Olšák <[email protected]>2019-01-22 12:21:43 -0500
commit3ee240890ce2d474ce96712972d2e06e363341f4 (patch)
treee47d134aaa8f1ada8f540dea6152a7b19497f3fe /src/gallium/include
parent4d5f8f39f3b34e308ec8a763cbaba16ced8b713c (diff)
gallium: add SINT formats to have exact counterparts to SNORM formats
for radeonsi
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_format.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h
index 6fb91222f2b..c81fc67b8e8 100644
--- a/src/gallium/include/pipe/p_format.h
+++ b/src/gallium/include/pipe/p_format.h
@@ -398,6 +398,11 @@ enum pipe_format {
PIPE_FORMAT_R8_SRGB = 312,
+ PIPE_FORMAT_A8L8_SINT = 313,
+ PIPE_FORMAT_G8R8_SINT = 314,
+ PIPE_FORMAT_A8B8G8R8_SINT = 315,
+ PIPE_FORMAT_X8B8G8R8_SINT = 316,
+
PIPE_FORMAT_COUNT
};