projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6a0622
)
swr: add missing rgbx8_srgb variant
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Sun, 20 Nov 2016 22:51:24 +0000
(17:51 -0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Wed, 30 Nov 2016 01:54:57 +0000
(20:54 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/swr_screen.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/swr/swr_screen.cpp
b/src/gallium/drivers/swr/swr_screen.cpp
index 642f9be8467d67b3d53b952266f465d211de6b97..19bb102354e3e68cb72c1603d8b5019c00164445 100644
(file)
--- a/
src/gallium/drivers/swr/swr_screen.cpp
+++ b/
src/gallium/drivers/swr/swr_screen.cpp
@@
-497,6
+497,7
@@
mesa_to_swr_format(enum pipe_format format)
{PIPE_FORMAT_R8G8B8A8_UNORM, R8G8B8A8_UNORM},
{PIPE_FORMAT_R8G8B8A8_SRGB, R8G8B8A8_UNORM_SRGB},
{PIPE_FORMAT_R8G8B8X8_UNORM, R8G8B8X8_UNORM},
+ {PIPE_FORMAT_R8G8B8X8_SRGB, R8G8B8X8_UNORM_SRGB},
{PIPE_FORMAT_R8_USCALED, R8_USCALED},
{PIPE_FORMAT_R8G8_USCALED, R8G8_USCALED},