Open
Description
System Information
- Ogre Version: master branch, commit [5b8aeaa]
- Operating System / Platform: macOS 13.7.4
- RenderSystem: Metal
- GPU: Radeon Pro 560X
Detailed description
To reproduce, build and run Sample_ScreenSpaceReflections, and in the configuration dialog, select an FSAA value other than 1x. Then the sample quickly dies.
Ogre.log
14:52:32: Creating resource group General
14:52:32: Creating resource group Internal
14:52:32: Creating resource group Autodetect
14:52:32: SceneManagerFactory for type 'DefaultSceneManager' registered.
14:52:32: Registering ResourceManager for type Material
14:52:32: Registering ResourceManager for type Mesh
14:52:32: Registering ResourceManager for type Mesh2
14:52:32: Registering ResourceManager for type OldSkeleton
14:52:32: MovableObjectFactory for type 'ParticleSystem' registered.
14:52:32: ArchiveFactory for archive type FileSystem registered.
14:52:32: ArchiveFactory for archive type Zip registered.
14:52:32: ArchiveFactory for archive type EmbeddedZip registered.
14:52:32: DDS codec registering
14:52:32: FreeImage version: 3.18.0
14:52:32: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
14:52:32: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,psb,cut,xbm,xpm,gif,hdr,g3,sgi,rgb,rgba,bw,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti,x3f,webp,jxr,wdp,hdp
14:52:32: OITD codec registering
14:52:32: Registering ResourceManager for type HighLevelGpuProgram
14:52:32: WARNING: NS Bundle Identifier not set!
14:52:32: WARNING: NS Bundle Identifier not set!
14:52:32: MovableObjectFactory for type 'Decal' registered.
14:52:32: MovableObjectFactory for type 'InternalCubemapProbe' registered.
14:52:32: MovableObjectFactory for type 'Entity' registered.
14:52:32: MovableObjectFactory for type 'Item' registered.
14:52:32: MovableObjectFactory for type 'Light' registered.
14:52:32: MovableObjectFactory for type 'ParticleSystem2' registered.
14:52:32: MovableObjectFactory for type 'Rectangle2Dv2' registered.
14:52:32: MovableObjectFactory for type 'BillboardSet' registered.
14:52:32: MovableObjectFactory for type 'ManualObject2' registered.
14:52:32: MovableObjectFactory for type 'BillboardChain' registered.
14:52:32: MovableObjectFactory for type 'RibbonTrail' registered.
14:52:32: MovableObjectFactory for type 'WireAabb' registered.
14:52:32: Loading library RenderSystem_Metal
14:52:32: Installing plugin: Metal RenderSystem
14:52:32: Metal: Devices Detection Starts
14:52:32: Metal: "AMD Radeon Pro 560X"
14:52:32: Metal: "Intel(R) UHD Graphics 630"
14:52:32: Metal: Devices Detection Ends
14:52:32: Plugin successfully installed
14:52:32: Loading library Plugin_ParticleFX
14:52:33: Installing plugin: ParticleFX
14:52:33: Particle Emitter Type 'Point' registered
14:52:33: Particle Emitter Type 'Box' registered
14:52:33: Particle Emitter Type 'Ellipsoid' registered
14:52:33: Particle Emitter Type 'Cylinder' registered
14:52:33: Particle Emitter Type 'Ring' registered
14:52:33: Particle Emitter Type 'HollowEllipsoid' registered
14:52:33: Particle Affector Type 'LinearForce' registered
14:52:33: Particle Affector Type 'ColourFader' registered
14:52:33: Particle Affector Type 'ColourFader2' registered
14:52:33: Particle Affector Type 'ColourImage' registered
14:52:33: Particle Affector Type 'ColourInterpolator' registered
14:52:33: Particle Affector Type 'ScaleInterpolator' registered
14:52:33: Particle Affector Type 'Scaler' registered
14:52:33: Particle Affector Type 'Rotator' registered
14:52:33: Particle Affector Type 'DirectionRandomiser' registered
14:52:33: Particle Affector Type 'DeflectorPlane' registered
14:52:33: Plugin successfully installed
14:52:33: Loading library Plugin_ParticleFX2
14:52:33: Installing plugin: ParticleFX2
14:52:33: Plugin successfully installed
14:52:33: *-*-* OGRE Initialising
14:52:33: *-*-* Version 4.0.0unstable (F)
14:52:37: CPU Identifier & Features
14:52:37: -------------------------
14:52:37: * CPU ID: GenuineIntel: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
14:52:37: * Logical cores: 12
14:52:37: * SSE: yes
14:52:37: * SSE2: yes
14:52:37: * SSE3: yes
14:52:37: * MMX: yes
14:52:37: * MMXEXT: yes
14:52:37: * 3DNOW: no
14:52:37: * 3DNOWEXT: no
14:52:37: * CMOV: yes
14:52:37: * TSC: yes
14:52:37: * FPU: yes
14:52:37: * PRO: yes
14:52:37: * HT: no
14:52:37: -------------------------
14:52:37: Metal: Devices Detection Starts
14:52:37: Metal: "AMD Radeon Pro 560X"
14:52:37: Metal: "Intel(R) UHD Graphics 630"
14:52:37: Metal: Devices Detection Ends
14:52:37: Metal: Requested "(default)", selected "AMD Radeon Pro 560X (system default)"
14:52:37: Supports: OSX_GPUFamily1_v1
14:52:37: Registering ResourceManager for type GpuProgram
14:52:37: Device is NOT tiler. TilerMemoryless flag will be ignored.
14:52:37: DefaultWorkQueue('Root') initialising on thread main.
14:52:37: Particle Renderer Type 'billboard' registered
14:52:37: OverlayElementFactory for type Panel registered.
14:52:37: OverlayElementFactory for type BorderPanel registered.
14:52:37: OverlayElementFactory for type TextArea registered.
14:52:37: Registering ResourceManager for type Font
14:52:37: Creating resource group Essential
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/DebugPack.zip' of type 'Zip' to resource group 'Essential'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/CornellBox.zip' of type 'Zip' to resource group 'Essential'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/2.0/scripts/materials/Common' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/2.0/scripts/materials/Common/Any' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/2.0/scripts/materials/Common/GLSL' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/2.0/scripts/materials/Common/HLSL' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/2.0/scripts/materials/Common/Metal' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/Hlms/Common/Any' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/Hlms/Common/GLSL' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/Hlms/Common/HLSL' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/Hlms/Common/Metal' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/Compute/Algorithms/IBL' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/Compute/Tools/Any' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/Compute/Tools/GLSL' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/Compute/Tools/HLSL' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/Compute/Tools/Metal' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/Compute/Tools' of type 'FileSystem' to resource group 'General'
14:52:37: Creating resource group Popular
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/2.0/scripts/Compositors' of type 'FileSystem' to resource group 'Popular'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/models' of type 'FileSystem' to resource group 'Popular'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/textures' of type 'FileSystem' to resource group 'Popular'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/textures/Cubemaps' of type 'FileSystem' to resource group 'Popular'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/2.0/scripts/materials/ScreenSpaceReflections' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/2.0/scripts/materials/ScreenSpaceReflections/GLSL' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/2.0/scripts/materials/ScreenSpaceReflections/HLSL' of type 'FileSystem' to resource group 'General'
14:52:37: Added resource location '/Volumes/Work/non-repo-libraries/Ogre-fork-build7/bin/Debug/Sample_ScreenSpaceReflections.app/Contents/Resources/2.0/scripts/materials/ScreenSpaceReflections/Metal' of type 'FileSystem' to resource group 'General'
14:52:37: WARNING: NS Bundle Identifier not set!
14:52:37: WARNING: NS Bundle Identifier not set!
14:52:37: Loading HlmsDiskCache from hlmsDiskCache1.bin
14:52:37: Applying HlmsDiskCache 1
14:52:37: Shader 100000000VertexShader_vs compiled successfully.
14:52:37: Shader 100000001VertexShader_vs compiled successfully.
14:52:37: Shader 100000001PixelShader_ps compiled successfully.
14:52:37: Shader 100000002VertexShader_vs compiled successfully.
14:52:37: Shader 100000002PixelShader_ps compiled successfully.
14:52:37: Loading HlmsDiskCache from hlmsDiskCache3.bin
14:52:37: Applying HlmsDiskCache 3
14:52:37: Shader 300000000VertexShader_vs compiled successfully.
14:52:37: Shader 300000000PixelShader_ps compiled successfully.
14:52:37: Parsing scripts for resource group Autodetect
14:52:37: Finished parsing scripts for resource group Autodetect
14:52:37: Creating resources for group Autodetect
14:52:37: All done
14:52:37: Parsing scripts for resource group Essential
14:52:37: Parsing script Materials.material
14:52:37: Parsing script CornellBox.material.json
14:52:37: Parsing script DebugFont.fontdef
14:52:37: Finished parsing scripts for resource group Essential
14:52:37: Creating resources for group Essential
14:52:37: All done
14:52:37: Parsing scripts for resource group General
14:52:37: Parsing script Quad.program
14:52:37: Shader Ogre/Compositor/Quad_vs_Metal compiled successfully.
14:52:37: Shader Ogre/Compositor/QuadCameraDir_vs_Metal compiled successfully.
14:52:37: Shader Ogre/Compositor/QuadCameraDirNoUV_vs_Metal compiled successfully.
14:52:37: Parsing script HiddenAreaMeshVr.material
14:52:37: Shader Ogre/VR/HiddenAreaMeshVr_vs_Metal compiled successfully.
14:52:37: Shader Ogre/VR/HiddenAreaMeshVr_ps_Metal compiled successfully.
14:52:37: Parsing script EsmGaussianBlurLogFilter.material
14:52:37: Shader ESM/GaussianLogFilterH_ps_Metal compiled successfully.
14:52:37: Shader ESM/GaussianLogFilterV_ps_Metal compiled successfully.
14:52:37: Parsing script RadialDensityMask.material
14:52:37: Shader Ogre/Compositor/RadialDensityMask_vs_Metal compiled successfully.
14:52:37: Shader Ogre/VR/RadialDensityMask_ps_Metal compiled successfully.
14:52:37: Parsing script DPSM.material
14:52:37: Shader Ogre/DPSM/CubeToDpsm_ps_Metal compiled successfully.
14:52:37: Shader Ogre/DPSM/CubeToDpsm_Colour_ps_Metal compiled successfully.
14:52:37: Parsing script Atmosphere.material
14:52:37: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource metal_stdlib in resource group General or any other group. in ResourceGroupManager::openResource at /Volumes/Work/git-repos/ogre-next-fork/OgreMain/src/OgreResourceGroupManager.cpp (line 737)
14:52:37: Shader Ogre/Atmo/NprSky_ps_Metal compiled successfully.
14:52:37: Parsing script DPM.material
14:52:37: Shader Ogre/DPM/CubeToDpm_4xFP16_ps_Metal compiled successfully.
14:52:37: Parsing script PccDepthCompressor.material
14:52:37: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource metal_stdlib in resource group General or any other group. in ResourceGroupManager::openResource at /Volumes/Work/git-repos/ogre-next-fork/OgreMain/src/OgreResourceGroupManager.cpp (line 737)
14:52:37: Shader PccDepthCompressor_ps_Metal compiled successfully.
14:52:37: Parsing script DepthUtils.material
14:52:37: Shader Ogre/Depth/DownscaleMax_ps_Metal compiled successfully.
14:52:37: Shader Ogre/Depth/DownscaleMax_Subsample0_ps_Metal compiled successfully.
14:52:37: Parsing script Sky.material
14:52:37: Shader Ogre/Sky/Cubemap_ps_Metal compiled successfully.
14:52:37: Shader Ogre/Sky/Equirectangular_ps_Metal compiled successfully.
14:52:37: Parsing script Copyback.material
14:52:37: Shader Ogre/Copy/4xFP32_ps_Metal compiled successfully.
14:52:37: Shader Ogre/Copy/4xFP32_2DArray_ps_Metal compiled successfully.
14:52:37: Shader Ogre/Copy/1xFP32_ps_Metal compiled successfully.
14:52:37: Shader Ogre/Resolve/1xFP32_Subsample0_ps_Metal compiled successfully.
14:52:37: Parsing script ScreenSpaceReflections.material
14:52:37: Shader SSR/ScreenSpaceReflectionsVectors_ps_Metal compiled successfully.
14:52:37: Shader SSR/ScreenSpaceReflectionsCombine_ps_Metal compiled successfully.
14:52:37: Shader SSR/Quincunx_ps_Metal compiled successfully.
14:52:37: Parsing script EsmGaussianBlurLogFilter.material.json
14:52:37: Parsing script Mipmaps.material.json
14:52:37: Parsing script IBL.material.json
14:52:37: Parsing script ClearUav.material.json
14:52:37: Parsing script CopyColourAndDepth.material.json
14:52:37: Finished parsing scripts for resource group General
14:52:37: Creating resources for group General
14:52:37: All done
14:52:37: Parsing scripts for resource group Internal
14:52:37: Finished parsing scripts for resource group Internal
14:52:37: Creating resources for group Internal
14:52:37: All done
14:52:37: Parsing scripts for resource group Popular
14:52:37: Parsing script LocalCubemaps.compositor
14:52:37: Parsing script StencilTest.compositor
14:52:37: Parsing script TutorialUav02_Setup.compositor
14:52:37: Parsing script StereoRendering.compositor
14:52:37: Parsing script ScreenSpaceReflections.compositor
14:52:37: Parsing script StaticShadowMaps.compositor
14:52:37: Parsing script UvBaking.compositor
14:52:37: Parsing script ShadowMapDebugging.compositor
14:52:37: Parsing script Refractions.compositor
14:52:37: Parsing script Tutorial_DynamicCubemap.compositor
14:52:37: Parsing script IrradianceFieldRaster.compositor
14:52:37: Parsing script PbsMaterials.compositor
14:52:37: Parsing script Tutorial_Terrain.compositor
14:52:37: Parsing script InstancedStereo.compositor
14:52:37: Parsing script Tutorial_OpenVRWorkspace.compositor
14:52:37: Parsing script TutorialUav01_Setup.compositor
14:52:37: Parsing script TutorialSky_Postprocess.compositor
14:52:37: Parsing script Tutorial_ReconstructPosFromDepth.compositor
14:52:37: Parsing script PlanarReflections.compositor
14:52:37: Finished parsing scripts for resource group Popular
14:52:37: Creating resources for group Popular
14:52:37: All done
14:52:37: Shader SSR/ScreenSpaceReflectionsVectors_ps_Metal compiled successfully.
14:52:37: Shader SSR/ScreenSpaceReflectionsCombine_ps_Metal compiled successfully.
14:52:37: Mesh: Loading Cube_d.mesh.
14:52:37: WARNING: Cube_d.mesh is an older format ([MeshSerializer_v2.1 R1]); you should upgrade it as soon as possible using the OgreMeshTool tool.
14:52:37: Shader 100000003VertexShader_vs compiled successfully.
14:52:37: Shader 100000003PixelShader_ps compiled successfully.
14:52:37: Shader 100000004VertexShader_vs compiled successfully.
14:52:38: Metal SL Compiler Error in 100000004PixelShader_ps:
program_source:1075:21: error: use of undeclared identifier 'interpolateAtSample'
pixelDepthZW = interpolateAtSample( inPs.zwDepth, 0 );
^
program_source:1079:33: error: use of undeclared identifier 'gBuf_depthTexture'
msaaDepth = OGRE_Load2DMS( gBuf_depthTexture, iFragCoord.xy, 0 ).x;
^
program_source:1086:21: error: use of undeclared identifier 'interpolateAtSample'
pixelDepthZW = interpolateAtSample( inPs.zwDepth, 1 );
^
program_source:1090:33: error: use of undeclared identifier 'gBuf_depthTexture'
msaaDepth = OGRE_Load2DMS( gBuf_depthTexture, iFragCoord.xy, 1 ).x;
^
14:52:38: Error retrieving entry point 'main_metal' in shader 100000004PixelShader_ps
14:52:38: OGRE EXCEPTION(3:RenderingAPIException): Fragment Program 100000004PixelShader_ps failed to compile. See compile log above for details. in MetalProgram::compile at /Volumes/Work/git-repos/ogre-next-fork/RenderSystems/Metal/src/OgreMetalProgram.mm (line 266)
14:52:38: High-level program 100000004PixelShader_ps encountered an error during loading and is thus not supported.
OGRE EXCEPTION(3:RenderingAPIException): Fragment Program 100000004PixelShader_ps failed to compile. See compile log above for details. in MetalProgram::compile at /Volumes/Work/git-repos/ogre-next-fork/RenderSystems/Metal/src/OgreMetalProgram.mm (line 266)
14:52:38: Metal SL Compiler Error in 100000004PixelShader_ps:
program_source:1075:21: error: use of undeclared identifier 'interpolateAtSample'
pixelDepthZW = interpolateAtSample( inPs.zwDepth, 0 );
^
program_source:1079:33: error: use of undeclared identifier 'gBuf_depthTexture'
msaaDepth = OGRE_Load2DMS( gBuf_depthTexture, iFragCoord.xy, 0 ).x;
^
program_source:1086:21: error: use of undeclared identifier 'interpolateAtSample'
pixelDepthZW = interpolateAtSample( inPs.zwDepth, 1 );
^
program_source:1090:33: error: use of undeclared identifier 'gBuf_depthTexture'
msaaDepth = OGRE_Load2DMS( gBuf_depthTexture, iFragCoord.xy, 1 ).x;
^
14:52:38: Error retrieving entry point 'main_metal' in shader 100000004PixelShader_ps
14:52:38: OGRE EXCEPTION(3:RenderingAPIException): Fragment Program 100000004PixelShader_ps failed to compile. See compile log above for details. in MetalProgram::compile at /Volumes/Work/git-repos/ogre-next-fork/RenderSystems/Metal/src/OgreMetalProgram.mm (line 266)
14:52:38: WARNING: GraphicsSystem::deinitialize() not called!!!