summaryrefslogtreecommitdiff
path: root/gfx/angle/src/libANGLE/VertexAttribute.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-07-11 18:11:13 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-07-11 18:11:13 +0200
commit4f2ecd53a9daaf88bb7d075745eefb6e2e4741e0 (patch)
treef000dd831240707a03b8c806db292c2a15cde3ce /gfx/angle/src/libANGLE/VertexAttribute.h
parent3b7ffb477eec078c7036c92c6a51bb5de6de4f28 (diff)
downloaduxp-4f2ecd53a9daaf88bb7d075745eefb6e2e4741e0.tar.gz
Roll back to ANGLE/2845
Diffstat (limited to 'gfx/angle/src/libANGLE/VertexAttribute.h')
-rwxr-xr-xgfx/angle/src/libANGLE/VertexAttribute.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx/angle/src/libANGLE/VertexAttribute.h b/gfx/angle/src/libANGLE/VertexAttribute.h
index a8cc8573b3..d1ee1b47a2 100755
--- a/gfx/angle/src/libANGLE/VertexAttribute.h
+++ b/gfx/angle/src/libANGLE/VertexAttribute.h
@@ -39,6 +39,9 @@ struct VertexAttribute
bool operator==(const VertexAttribute &a, const VertexAttribute &b);
bool operator!=(const VertexAttribute &a, const VertexAttribute &b);
+template <typename T>
+T QuerySingleVertexAttributeParameter(const VertexAttribute& attrib, GLenum pname);
+
size_t ComputeVertexAttributeTypeSize(const VertexAttribute& attrib);
size_t ComputeVertexAttributeStride(const VertexAttribute& attrib);
size_t ComputeVertexAttributeElementCount(const VertexAttribute &attrib,