From bb2bb5a36a5a5968846cd52128d8141b65f9b2e5 Mon Sep 17 00:00:00 2001 From: Brice Videau Date: Tue, 25 Apr 2023 17:39:14 -0500 Subject: [PATCH] Update generated code to reflect recent xml updates. --- loader/icd_dispatch_generated.c | 4 ++-- test/layer/icd_print_layer_generated.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/loader/icd_dispatch_generated.c b/loader/icd_dispatch_generated.c index 92e14cce..3aa788ac 100644 --- a/loader/icd_dispatch_generated.c +++ b/loader/icd_dispatch_generated.c @@ -6361,7 +6361,7 @@ CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLBuffer( cl_context context, cl_mem_flags flags, cl_GLuint bufobj, - int* errcode_ret) + cl_int* errcode_ret) { #if defined(CL_ENABLE_LAYERS) if (khrFirstLayer) @@ -6384,7 +6384,7 @@ static cl_mem CL_API_CALL clCreateFromGLBuffer_disp( cl_context context, cl_mem_flags flags, cl_GLuint bufobj, - int* errcode_ret) + cl_int* errcode_ret) { KHR_ICD_VALIDATE_HANDLE_RETURN_HANDLE(context, CL_INVALID_CONTEXT); KHR_ICD_VALIDATE_POINTER_RETURN_HANDLE(context->dispatch->clCreateFromGLBuffer); diff --git a/test/layer/icd_print_layer_generated.c b/test/layer/icd_print_layer_generated.c index edc55543..ee9d19e5 100644 --- a/test/layer/icd_print_layer_generated.c +++ b/test/layer/icd_print_layer_generated.c @@ -2379,7 +2379,7 @@ static cl_mem CL_API_CALL clCreateFromGLBuffer_wrap( cl_context context, cl_mem_flags flags, cl_GLuint bufobj, - int* errcode_ret) CL_API_SUFFIX__VERSION_1_0 + cl_int* errcode_ret) CL_API_SUFFIX__VERSION_1_0 { printf("clCreateFromGLBuffer\n"); return tdispatch->clCreateFromGLBuffer(