summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texturebindless.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/texturebindless.c')
-rw-r--r--src/mesa/main/texturebindless.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/main/texturebindless.c b/src/mesa/main/texturebindless.c
index 26b0f58bcd2..dac6c569a5e 100644
--- a/src/mesa/main/texturebindless.c
+++ b/src/mesa/main/texturebindless.c
@@ -870,6 +870,13 @@ _mesa_MakeImageHandleNonResidentARB(GLuint64 handle)
}
GLboolean GLAPIENTRY
+_mesa_IsTextureHandleResidentARB_no_error(GLuint64 handle)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ return is_texture_handle_resident(ctx, handle);
+}
+
+GLboolean GLAPIENTRY
_mesa_IsTextureHandleResidentARB(GLuint64 handle)
{
GET_CURRENT_CONTEXT(ctx);
@@ -896,6 +903,13 @@ _mesa_IsTextureHandleResidentARB(GLuint64 handle)
}
GLboolean GLAPIENTRY
+_mesa_IsImageHandleResidentARB_no_error(GLuint64 handle)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ return is_image_handle_resident(ctx, handle);
+}
+
+GLboolean GLAPIENTRY
_mesa_IsImageHandleResidentARB(GLuint64 handle)
{
GET_CURRENT_CONTEXT(ctx);