From bd03c77e52b9a8acd470933829b8cd0419aeb3ed Mon Sep 17 00:00:00 2001 From: Rich Geldreich Date: Fri, 14 Mar 2014 23:17:55 -0700 Subject: [PATCH] - adding a missing entrypoint check, so traces made with NV extensions don't completely core dump on AMD (although the odds of them playing back right are kinda slim) - adding darwinia trace (cherry picked from commit cd849926f2db37a08a87395792c40916e0c6ee0f) Conflicts: bin_richg/regression_test.sh --- src/voglcommon/vogl_gl_replayer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/voglcommon/vogl_gl_replayer.cpp b/src/voglcommon/vogl_gl_replayer.cpp index f11a954..0df3d49 100644 --- a/src/voglcommon/vogl_gl_replayer.cpp +++ b/src/voglcommon/vogl_gl_replayer.cpp @@ -4008,7 +4008,8 @@ vogl_gl_replayer::status_t vogl_gl_replayer::process_gl_entrypoint_packet_intern // (typically pointers to fixed size buffers, or params directly controlling the size of buffers). #define VOGL_SIMPLE_REPLAY_FUNC_BEGIN(name, num_params) \ case VOGL_ENTRYPOINT_##name: \ - { GL_ENTRYPOINT(name)( + { if (!GL_ENTRYPOINT(name)) { process_entrypoint_error("vogl_gl_replayer::process_gl_entrypoint_packet_internal: Can't call NULL GL entrypoint %s (maybe a missing extension?)\n", #name); } else \ + GL_ENTRYPOINT(name)( #define VOGL_SIMPLE_REPLAY_FUNC_PARAM_VALUE(type, index) trace_packet.get_param_value(index) #define VOGL_SIMPLE_REPLAY_FUNC_PARAM_SEPERATOR , #define VOGL_SIMPLE_REPLAY_FUNC_PARAM_CLIENT_MEMORY(type, index) trace_packet.get_param_client_memory(index) -- 2.43.0