projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84a5f27
)
r600: workaround 3 comp GL_SHORT vertex attribute format on r700
author
Andre Maasikas
<amaasikas@gmail.com>
Wed, 7 Jul 2010 18:32:07 +0000
(21:32 +0300)
committer
Andre Maasikas
<amaasikas@gmail.com>
Wed, 7 Jul 2010 18:32:07 +0000
(21:32 +0300)
guess it's a hw errata?
src/mesa/drivers/dri/r600/r700_assembler.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/r700_assembler.c
b/src/mesa/drivers/dri/r600/r700_assembler.c
index 88d6b06df5682e5295afc40e98becda53d7852b3..ffc2d1458a54889dffaeceab5155b3086775053b 100644
(file)
--- a/
src/mesa/drivers/dri/r600/r700_assembler.c
+++ b/
src/mesa/drivers/dri/r600/r700_assembler.c
@@
-293,7
+293,9
@@
GLuint GetSurfaceFormat(GLenum eType, GLuint nChannels, GLuint * pClient_size)
case 2:
format = FMT_16_16; break;
case 3:
- format = FMT_16_16_16; break;
+ /* 3 comp GL_SHORT vertex format doesnt work on r700
+ 4 somehow works, test - sauerbraten */
+ format = FMT_16_16_16_16; break;
case 4:
format = FMT_16_16_16_16; break;
default: