summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_context.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-04-03 22:03:10 +0200
committerSamuel Pitoiset <[email protected]>2017-06-14 10:04:35 +0200
commitafb141156f09e7f2f22b88eeefe8e0800c26c1d6 (patch)
tree5fbfd946c4ee5dcd3e29cde519e1986848680fc3 /src/mesa/vbo/vbo_context.h
parent1fe7b1f9724ac38cbddcac6505d3750ef99a2eca (diff)
mesa: add support for unsigned 64-bit vertex attributes
This adds support in the VBO and array code to handle unsigned 64-bit vertex attributes as specified by ARB_bindless_texture. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_context.h')
-rw-r--r--src/mesa/vbo/vbo_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_context.h b/src/mesa/vbo/vbo_context.h
index 2a762c85c63..70757d0ea4d 100644
--- a/src/mesa/vbo/vbo_context.h
+++ b/src/mesa/vbo/vbo_context.h
@@ -175,6 +175,7 @@ vbo_attrtype_to_integer_flag(GLenum format)
return GL_FALSE;
case GL_INT:
case GL_UNSIGNED_INT:
+ case GL_UNSIGNED_INT64_ARB:
return GL_TRUE;
default:
assert(0);
@@ -189,6 +190,7 @@ vbo_attrtype_to_double_flag(GLenum format)
case GL_FLOAT:
case GL_INT:
case GL_UNSIGNED_INT:
+ case GL_UNSIGNED_INT64_ARB:
return GL_FALSE;
case GL_DOUBLE:
return GL_TRUE;