From: Marek Olšák <marek.ol...@amd.com> Bindless texture handles can be passed via vertex attribs using this type. This fixes a bunch of bindless piglit tests on radeonsi.
Cc: 18.0 18.1 <mesa-sta...@lists.freedesktop.org> --- src/mesa/main/glformats.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index cba5e670db0..667020c193c 100644 --- a/src/mesa/main/glformats.c +++ b/src/mesa/main/glformats.c @@ -556,20 +556,22 @@ _mesa_bytes_per_vertex_attrib(GLint comps, GLenum type) case GL_UNSIGNED_INT_2_10_10_10_REV: if (comps == 4) return sizeof(GLuint); else return -1; case GL_UNSIGNED_INT_10F_11F_11F_REV: if (comps == 3) return sizeof(GLuint); else return -1; + case GL_UNSIGNED_INT64_ARB: + return comps * 8; default: return -1; } } /** * Test if the given format is unsized. */ GLboolean _mesa_is_enum_format_unsized(GLenum format) -- 2.17.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev