From eec4dcf603c04b5b5d6cf20b7d8a5528bfe0847b Mon Sep 17 00:00:00 2001 From: Ben Ashbaugh Date: Thu, 20 Feb 2025 09:12:33 -0800 Subject: [PATCH] add basic call logging for clGetGLContextInfoKHR parameters --- intercept/src/dispatch.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/intercept/src/dispatch.cpp b/intercept/src/dispatch.cpp index e738e322..28034c21 100644 --- a/intercept/src/dispatch.cpp +++ b/intercept/src/dispatch.cpp @@ -7659,7 +7659,9 @@ CL_API_ENTRY cl_int CL_API_CALL clGetGLContextInfoKHR( if( pIntercept && pIntercept->dispatch().clGetGLContextInfoKHR ) { GET_ENQUEUE_COUNTER(); - CALL_LOGGING_ENTER(); + CALL_LOGGING_ENTER( "param_name = %s (%08X)", + pIntercept->enumName().name( param_name ).c_str(), + param_name ); HOST_PERFORMANCE_TIMING_START(); cl_int retVal = pIntercept->dispatch().clGetGLContextInfoKHR(