diff options
author | Kenneth Graunke <[email protected]> | 2012-11-27 12:06:13 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-11-27 12:36:33 -0800 |
commit | 7a414fea876807810c27cedb243920bd7b088ea7 (patch) | |
tree | 110010147fdc93afa1a516d163ac2d4e225e8b4e /src/mesa/x86/sse.c | |
parent | 6a529e2b484c6d17c6244efee8e7dae4de79e386 (diff) |
mesa/vbo: Check for invalid types in various packed vertex functions.
According to the ARB_vertex_type_2_10_10_10_rev specification:
"The error INVALID_ENUM is generated by VertexP*, NormalP*,
TexCoordP*, MultiTexCoordP*, ColorP*, or SecondaryColorP if <type>
is not UNSIGNED_INT_2_10_10_10_REV or INT_2_10_10_10_REV."
Fixes 7 subcases of oglconform's packed-vertex test.
v2: Add "gl" prefix to error messages (pointed out by Brian).
Also rebase atop the ctx plumbing.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/x86/sse.c')
0 files changed, 0 insertions, 0 deletions