summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_vbo.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-06-17 23:52:41 +1000
committerBen Skeggs <[email protected]>2008-06-29 15:46:19 +1000
commit3b88c3f4112a8bac52b7f7e613b1c2df8a14b752 (patch)
treef05e297d385925e84a5655261613f181454bdcee /src/gallium/drivers/nv50/nv50_vbo.c
parent65ad8176ca91b5ed2a01b1b3ee145cfdce369419 (diff)
nv50: R32_FLOAT vbo format
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_vbo.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_vbo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_vbo.c b/src/gallium/drivers/nv50/nv50_vbo.c
index 3f0b66ae365..c16bfe3a937 100644
--- a/src/gallium/drivers/nv50/nv50_vbo.c
+++ b/src/gallium/drivers/nv50/nv50_vbo.c
@@ -185,6 +185,9 @@ nv50_vbo_validate(struct nv50_context *nv50)
case PIPE_FORMAT_R32G32_FLOAT:
so_data(vtxfmt, 0x7e200000 | i);
break;
+ case PIPE_FORMAT_R32_FLOAT:
+ so_data(vtxfmt, 0x7e900000 | i);
+ break;
case PIPE_FORMAT_R8G8B8A8_UNORM:
so_data(vtxfmt, 0x24500000 | i);
break;