Fixes #860. The solution is to make sure the traceModelCache entry for defaultClipModel is properly allocated and refcounted following restore from a save file. Previously the refcount for the default trace model was not augmented following a restore and this would lead to warning messages on map shutdown/quit.
Also fixes an issue with the DeepGBufferRadiosity_blur.ps.hlsl shader where FAR_PLANE_Z was not declared static and the initializer was ignored. Warning messages from DXC are not shown to the user and therefore the issue was missed. (note: DXC warning messages are now shown with ShaderMake)
Updates macOS bundle version string to 1.6.0
Fix Optick type mismatches for non-windows 64-bit platforms (linux and macOS).
Improve Optick error reporting to support output to debugger window and console stderr on all platforms.
Fixes a few small issues:
traceModelCache
entry fordefaultClipModel
is properly allocated and refcounted following restore from a save file. Previously the refcount for the default trace model was not augmented following a restore and this would lead to warning messages on map shutdown/quit.FAR_PLANE_Z
was not declared static and the initializer was ignored. Warning messages from DXC are not shown to the user and therefore the issue was missed. (note: DXC warning messages are now shown with ShaderMake)Note this aligns all Optick changes with those submitted to the optick project at https://github.com/bombomby/optick/pull/196