projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31d16c
)
st/xorg: Use A8 textures for depth 8 pixmaps
author
Jakob Bornecrantz
<jakob@vmware.com>
Thu, 8 Oct 2009 11:13:36 +0000
(13:13 +0200)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Thu, 8 Oct 2009 11:42:40 +0000
(13:42 +0200)
There is no hardware out there that can render to I8 textures.
src/gallium/state_trackers/xorg/xorg_exa.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xorg/xorg_exa.c
b/src/gallium/state_trackers/xorg/xorg_exa.c
index f7949bafaaecb237dfa83d9c56e185d7aa5e0655..8920b243079775dbbafb4c1e81232b5ae2872e32 100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_exa.c
+++ b/
src/gallium/state_trackers/xorg/xorg_exa.c
@@
-76,7
+76,7
@@
exa_get_pipe_format(int depth, enum pipe_format *format, int *bbp)
assert(*bbp == 16);
break;
case 8:
- *format = PIPE_FORMAT_
I
8_UNORM;
+ *format = PIPE_FORMAT_
A
8_UNORM;
assert(*bbp == 8);
break;
case 4: