diff options
author | Samuel Pitoiset <[email protected]> | 2017-06-14 11:27:42 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-18 14:21:01 +0200 |
commit | 530ff887ebac56d9d7f0ded48282b3e1709972b1 (patch) | |
tree | 603232ef6f7736ab5a76267e99982783c7640828 /src/mesa/main/texturebindless.h | |
parent | 0fb2c89c717214df5e99c7f1bd493c9ec89cada9 (diff) |
mesa: add KHR_no_error support for glGetTexture*HandleARB()
It would be nice to have a no_error path for
_mesa_test_texobj_completeness() because this function doesn't
only test if the texture is complete.
Anyway, that seems enough for now and a bunch of checks are
skipped with this patch.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/texturebindless.h')
-rw-r--r-- | src/mesa/main/texturebindless.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/texturebindless.h b/src/mesa/main/texturebindless.h index 467105ef414..62c954b6576 100644 --- a/src/mesa/main/texturebindless.h +++ b/src/mesa/main/texturebindless.h @@ -68,7 +68,14 @@ _mesa_delete_sampler_handles(struct gl_context *ctx, /*@{*/ GLuint64 GLAPIENTRY +_mesa_GetTextureHandleARB_no_error(GLuint texture); + +GLuint64 GLAPIENTRY _mesa_GetTextureHandleARB(GLuint texture); + +GLuint64 GLAPIENTRY +_mesa_GetTextureSamplerHandleARB_no_error(GLuint texture, GLuint sampler); + GLuint64 GLAPIENTRY _mesa_GetTextureSamplerHandleARB(GLuint texture, GLuint sampler); |