nv50: another vbo format
authorBen Skeggs <skeggsb@gmail.com>
Thu, 12 Jun 2008 04:47:17 +0000 (14:47 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Sun, 29 Jun 2008 05:46:18 +0000 (15:46 +1000)
src/gallium/drivers/nv50/nv50_vbo.c

index 586a6c49de0d7a98c5c57c6b2a2b8314d85109f7..7a1c2f24ef936bf87385b0f90035483b1d528d2c 100644 (file)
@@ -182,6 +182,9 @@ nv50_vbo_validate(struct nv50_context *nv50)
                case PIPE_FORMAT_R32G32B32_FLOAT:
                        so_data(vtxfmt, 0x7e100000 | i);
                        break;
+               case PIPE_FORMAT_R32G32_FLOAT:
+                       so_data(vtxfmt, 0x7e200000 | i);
+                       break;
                case PIPE_FORMAT_R8G8B8A8_UNORM:
                        so_data(vtxfmt, 0x24500000 | i);
                        break;