diff options
author | Marek Olšák <[email protected]> | 2018-05-25 16:37:29 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-05-29 20:09:00 -0400 |
commit | a8e141387686cdf44b5868031283267acb99eba7 (patch) | |
tree | e049b264d5e58ad1c6d79a5ea3ecee98f8c19f0b /src/mesa/main/glformats.c | |
parent | 1f7a3a11025b18d46d46f7e3f5c45eda9e825dcd (diff) |
mesa: handle GL_UNSIGNED_INT64_ARB properly (v2)
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 <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.c')
-rw-r--r-- | src/mesa/main/glformats.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ -563,6 +563,8 @@ _mesa_bytes_per_vertex_attrib(GLint comps, GLenum type) return sizeof(GLuint); else return -1; + case GL_UNSIGNED_INT64_ARB: + return comps * 8; default: return -1; } |