Commit fa14f8af authored by Chris Forbes's avatar Chris Forbes

mesa: Add support to _mesa_bytes_per_vertex_attrib for 10_11_11 format.

Signed-off-by: default avatarChris Forbes <chrisf@ijw.co.nz>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
parent 1f092a95
......@@ -345,6 +345,11 @@ _mesa_bytes_per_vertex_attrib(GLint comps, GLenum type)
return sizeof(GLuint);
else
return -1;
case GL_UNSIGNED_INT_10F_11F_11F_REV:
if (comps == 3)
return sizeof(GLuint);
else
return -1;
default:
return -1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment