diff options
author | Andre Maasikas <[email protected]> | 2010-07-07 21:32:07 +0300 |
---|---|---|
committer | Andre Maasikas <[email protected]> | 2010-07-07 21:32:07 +0300 |
commit | 51c438feb765cf03d1a6448295e6c62be61a5e56 (patch) | |
tree | ebf20ff86cedbb50165eb03040b265fcc6b5ad9f /src/mesa | |
parent | 84a5f27b9b7745f7f0486e067684463dd89f6b4b (diff) |
r600: workaround 3 comp GL_SHORT vertex attribute format on r700
guess it's a hw errata?
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_assembler.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_assembler.c b/src/mesa/drivers/dri/r600/r700_assembler.c index 88d6b06df56..ffc2d1458a5 100644 --- 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: |