projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f700d6b
)
nv50: support a couple more common VBO formats
author
Ben Skeggs
<skeggsb@gmail.com>
Thu, 12 Jun 2008 03:59:51 +0000
(13:59 +1000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Sun, 29 Jun 2008 05:46:17 +0000
(15:46 +1000)
src/gallium/drivers/nv50/nv50_vbo.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_vbo.c
b/src/gallium/drivers/nv50/nv50_vbo.c
index 140d60cc9a677da4f51b253b4d06095abc94f187..74519489f7d81510425316aef764e2f790236e5c 100644
(file)
--- a/
src/gallium/drivers/nv50/nv50_vbo.c
+++ b/
src/gallium/drivers/nv50/nv50_vbo.c
@@
-82,9
+82,15
@@
nv50_vbo_validate(struct nv50_context *nv50)
&nv50->vtxbuf[ve->vertex_buffer_index];
switch (ve->src_format) {
+ case PIPE_FORMAT_R32G32B32A32_FLOAT:
+ so_data(vtxfmt, 0x7e080000 | i);
+ break;
case PIPE_FORMAT_R32G32B32_FLOAT:
so_data(vtxfmt, 0x7e100000 | i);
break;
+ case PIPE_FORMAT_R8G8B8A8_UNORM:
+ so_data(vtxfmt, 0x24500000 | i);
+ break;
default:
{
char fmt[128];