Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
-
fanlansen
- Gnoblar
- Posts: 18
- Joined: Tue Jun 29, 2010 9:28 am
Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
Program received signal: “EXC_BAD_ACCESS”.
at GLES2,OgreEAGL2Window.mm swapBuffers(bool waitForVSync)
427 glRenderbufferStorageMultisampleAPPLE
Debugger:
#0 0x0d843827 in gleRunVertexSubmitImmediate
#1 0x0d842ad3 in gleLLVMArrayFunc
#2 0x0d842a7b in gleSetVertexArrayFunc
#3 0x0d8395b6 in gleDrawArraysOrElements_ExecCore
#4 0x0d81aaa7 in glDrawArrays_Exec
#5 0x0d8845eb in gleBlitFramebuffer
#6 0x0d82e5d6 in glResolveMultisampleFramebufferAPPLE_Exec
#7 0x0483fcce in glResolveMultisampleFramebufferAPPLE
#8 0x00235fb2 in Ogre::EAGL2Window::swapBuffers at OgreEAGL2Window.mm:426
at GLES2,OgreEAGL2Window.mm swapBuffers(bool waitForVSync)
427 glRenderbufferStorageMultisampleAPPLE
Debugger:
#0 0x0d843827 in gleRunVertexSubmitImmediate
#1 0x0d842ad3 in gleLLVMArrayFunc
#2 0x0d842a7b in gleSetVertexArrayFunc
#3 0x0d8395b6 in gleDrawArraysOrElements_ExecCore
#4 0x0d81aaa7 in glDrawArrays_Exec
#5 0x0d8845eb in gleBlitFramebuffer
#6 0x0d82e5d6 in glResolveMultisampleFramebufferAPPLE_Exec
#7 0x0483fcce in glResolveMultisampleFramebufferAPPLE
#8 0x00235fb2 in Ogre::EAGL2Window::swapBuffers at OgreEAGL2Window.mm:426
-
masterfalcon
- OGRE Retired Team Member

- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
Not enough information. Let's start with steps to reproduce.
-
fanlansen
- Gnoblar
- Posts: 18
- Joined: Tue Jun 29, 2010 9:28 am
Re: Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
I run the SampleBrowser.
log:
Debugger:
#0 0x0d74c827 in gleRunVertexSubmitImmediate
#1 0x0d74bad3 in gleLLVMArrayFunc
#2 0x0d74ba7b in gleSetVertexArrayFunc
#3 0x0d7425b6 in gleDrawArraysOrElements_ExecCore
#4 0x0d723aa7 in glDrawArrays_Exec
#5 0x0d78d5eb in gleBlitFramebuffer
#6 0x0d7375d6 in glResolveMultisampleFramebufferAPPLE_Exec
#7 0x0483fcce in glResolveMultisampleFramebufferAPPLE
#8 0x00235fb2 in Ogre::EAGL2Window::swapBuffers at OgreEAGL2Window.mm:427
#9 0x004bb283 in Ogre::RenderSystem::_swapAllRenderTargetBuffers at OgreRenderSystem.cpp:135
#10 0x005149fd in Ogre::Root::_updateAllRenderTargets at OgreRoot.cpp:1404
#11 0x00514abb in Ogre::Root::renderOneFrame at OgreRoot.cpp:988
#12 0x000346d5 in -[AppDelegate renderOneFrame:] at SampleBrowser_iOS.h:197
#13 0x023d11c9 in __NSFireTimer
#14 0x04959f73 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
#15 0x0495b5b4 in __CFRunLoopDoTimer
#16 0x048b7dd9 in __CFRunLoopRun
#17 0x048b7350 in CFRunLoopRunSpecific
#18 0x048b7271 in CFRunLoopRunInMode
#19 0x0540500c in GSEventRunModal
#20 0x054050d1 in GSEventRun
#21 0x02a34af2 in UIApplicationMain
#22 0x00032e8f in main at SampleBrowser.cpp:54
---------------------
another test:
undef USE_RTSHADER_SYSTEM , then happened this:
Program received signal: “EXC_BAD_ACCESS”.
Pending breakpoint 1 - ""SampleBrowser_iOS.h":100" resolved
breakpoint at :
OpenGLSLESLinkProgram.mm 265
Debugger :
#0 0x00105fb3 in Ogre::GLSLESLinkProgram::getAttributeIndex at OgreGLSLESLinkProgram.cpp:267
#1 0x0010677d in Ogre::GLSLESLinkProgram::isAttributeValid at OgreGLSLESLinkProgram.cpp:298
#2 0x000e8454 in Ogre::GLES2RenderSystem::_render at OgreGLES2RenderSystem.cpp:1548
#3 0x003e09da in Ogre::SceneManager::renderSingleObject at OgreSceneManager.cpp:3439
#4 0x003cc9c4 in Ogre::SceneManager::BRAND NAME::visit at OgreSceneManager.cpp:2894
#5 0x003563c8 in Ogre::QueuedRenderableCollection::acceptVisitorDescending at OgreRenderQueueSortingGrouping.cpp:465
#6 0x00356e81 in Ogre::QueuedRenderableCollection::acceptVisitor at OgreRenderQueueSortingGrouping.cpp:421
#7 0x003e0f8d in Ogre::SceneManager::renderObjects at OgreSceneManager.cpp:2964
#8 0x003e10a2 in Ogre::SceneManager::renderBasicQueueGroupObjects at OgreSceneManager.cpp:3047
#9 0x003ddb23 in Ogre::SceneManager::_renderQueueGroupObjects at OgreSceneManager.cpp:3021
#10 0x003e2f7f in Ogre::SceneManager::renderVisibleObjectsDefaultSequence at OgreSceneManager.cpp:2301
#11 0x003e31c9 in Ogre::SceneManager::_renderVisibleObjects at OgreSceneManager.cpp:2217
#12 0x003e76fb in Ogre::SceneManager::_renderScene at OgreSceneManager.cpp:1523
#13 0x0015f98c in Ogre::Camera::_renderScene at OgreCamera.cpp:412
#14 0x004fae35 in Ogre::Viewport::update at OgreViewport.cpp:217
#15 0x00381140 in Ogre::RenderTarget::_updateViewport at OgreRenderTarget.cpp:199
#16 0x003811fe in Ogre::RenderTarget::_updateAutoUpdatedViewports at OgreRenderTarget.cpp:177
#17 0x0037f21e in Ogre::RenderTarget::updateImpl at OgreRenderTarget.cpp:154
#18 0x0037f869 in Ogre::RenderTarget::update at OgreRenderTarget.cpp:611
#19 0x00360987 in Ogre::RenderSystem::_updateAllRenderTargets at OgreRenderSystem.cpp:122
#20 0x003ba9a9 in Ogre::Root::_updateAllRenderTargets at OgreRoot.cpp:1400
#21 0x003baaab in Ogre::Root::renderOneFrame at OgreRoot.cpp:988
#22 0x00024ce9 in -[AppDelegate renderOneFrame:] at SampleBrowser_iOS.h:197
log:
Code: Select all
**************************************
*** OpenGL ES 2.x Renderer Started ***
**************************************
GLSL ES support detected
Registering ResourceManager for type GpuProgram
GL ES 2: Using FBOs for rendering to textures
FBO PF_UNKNOWN depth/stencil support: D0S8 D16S0 D16S8 D24S0 D24S8
FBO PF_R5G6B5 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8
FBO PF_B5G6R5 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8
FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8
FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8
FBO PF_R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8
FBO PF_B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8
FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8
FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8
FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8
FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8
FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8
[GLES2] : Valid FBO targets PF_UNKNOWN PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_A8B8G8R8 PF_B8G8R8A8 PF_X8R8G8B8 PF_X8B8G8R8
RenderSystem capabilities
-------------------------
RenderSystem Name: OpenGL ES 2.x Rendering Subsystem
GPU Vendor: apple
Device Name: Apple Software Renderer
Driver Version: 0.0.0.0
* Fixed function pipeline: no
* Hardware generation of mipmaps: yes
* Texture blending: yes
* Anisotropic texture filtering: yes
* Dot product texture operation: yes
* Cube mapping: yes
* Hardware stencil buffer: no
* Hardware vertex / index buffers: yes
* Vertex programs: yes
* Number of floating-point constants for vertex programs: 128
* Number of integer constants for vertex programs: 128
* Number of boolean constants for vertex programs: 128
* Fragment programs: yes
* Number of floating-point constants for fragment programs: 64
* Number of integer constants for fragment programs: 64
* Number of boolean constants for fragment programs: 64
* Geometry programs: no
* Number of floating-point constants for geometry programs: 0
* Number of integer constants for geometry programs: 0
* Number of boolean constants for geometry programs: 0
* Supported Shader Profiles: cg glsles ps_2_0 vs_2_0
* Texture Compression: yes
- DXT: no
- VTC: no
- PVRTC: yes
* Scissor Rectangle: yes
* Hardware Occlusion Query: no
* User clip planes: no
* VET_UBYTE4 vertex element type: yes
* Infinite far plane projection: yes
* Hardware render-to-texture: yes
* Floating point textures: no
* Non-power-of-two textures: no
* Volume textures: no
* Multiple Render Targets: 1
- With different bit depths: no
* Point Sprites: yes
* Extended point parameters: yes
* Max Point Size: 0
* Vertex texture fetch: no
* Number of world matrices: 0
* Number of texture units: 8
* Stencil buffer depth: 0
* Number of vertex blend matrices: 0
* Render to Vertex Buffer : no
* GL 1.5 without VBO workaround: no
* Frame Buffer objects: yes
* Frame Buffer objects (ARB extension): no
* Frame Buffer objects (ATI extension): no
* PBuffer support: no
* GL 1.5 without HW-occlusion workaround: no
Registering ResourceManager for type Texture
DefaultWorkQueue('Root') initialising on thread 0x850df50.
DefaultWorkQueue('Root')::WorkerFunc - thread 0x851f5a0 starting.
DefaultWorkQueue('Root')::WorkerFunc - thread 0x851d9c0 starting.
Particle Renderer Type 'billboard' registered
SceneManagerFactory for type 'OctreeSceneManager' registered.
SceneManagerFactory for type 'BspSceneManager' registered.
Registering ResourceManager for type BspLevel
Creating resource group Essential
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/thumbnails' of type 'FileSystem' to resource group 'Essential'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/packs/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media' of type 'FileSystem' to resource group 'General'
Creating resource group Popular
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/fonts' of type 'FileSystem' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/materials/programs' of type 'FileSystem' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/materials/scripts' of type 'FileSystem' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/materials/textures' of type 'FileSystem' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/materials/textures/nvidia' of type 'FileSystem' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/models' of type 'FileSystem' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/particle' of type 'FileSystem' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/DeferredShadingMedia' of type 'FileSystem' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/PCZAppMedia' of type 'FileSystem' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/RTShaderLib' of type 'FileSystem' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/RTShaderLib/materials' of type 'FileSystem' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/packs/cubemap.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/packs/dragon.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/packs/ogredance.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/packs/Sinbad.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/Users/fancrazygrit/Library/Application Support/iPhone Simulator/4.1/Applications/7DA9028A-6C1B-4DB6-8A47-7A63DDAEF0CC/SampleBrowser.app/Media/packs/skybox.zip' of type 'Zip' to resource group 'Popular'
Initialising resource group Essential
Parsing scripts for resource group Essential
Parsing script SdkTrays.material
Parsing script SdkTrays.fontdef
Parsing script SdkTrays.overlay
Bad element attribute line: '# you can offset the image to change the cursor "hotspot"' for element SdkTrays/Cursor in overlay
Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
pthread_mutexattr_destroy$UNIX2003 called from function _ZN4llvm3sys5MutexC2Eb in image libLLVMContainer.dylib.
Texture: sdk_cursor.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_tray.png: Loading 1 faces(PF_A8B8G8R8,64x64x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
Texture: sdk_button_up.png: Loading 1 faces(PF_A8B8G8R8,128x32x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x32x1.
Texture: sdk_text_box.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_mini_tray.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_track.png: Loading 1 faces(PF_A8B8G8R8,16x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x32x1.
Texture: sdk_handle.png: Loading 1 faces(PF_A8B8G8R8,16x16x1) with 4 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x16x1.
Texture: sdk_mini_text_box.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_label.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_separator.png: Loading 1 faces(PF_A8B8G8R8,64x16x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x16x1.
Texture: sdk_logo.png: Loading 1 faces(PF_A8B8G8R8,128x64x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x64x1.
Texture: sdk_shade.png: Loading 1 faces(PF_A8B8G8R8,64x48x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
Texture: sdk_frame.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_mini_text_box_over.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_pulse.png: Loading 1 faces(PF_B8G8R8,8x1x1) with 3 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,8x1x1.
Finished parsing scripts for resource group Essential
Creating resources for group Essential
All done
[Switching to process 695]
Texture: sdk_bands.png: Loading 1 faces(PF_A8B8G8R8,2x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,2x32x1.
Initialising resource group Popular
Parsing scripts for resource group Popular
Parsing script Instancing.program
File:depthshadowobject.cg has unsupported syntax for hlsl2glsl.
File:Instancing_ps.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Instancing.program(69): setting of constant failed
Compiler error: invalid parameters in Instancing.program(70): setting of constant failed
Compiler error: invalid parameters in Instancing.program(71): setting of constant failed
Compiler error: invalid parameters in Instancing.program(72): setting of constant failed
Compiler error: invalid parameters in Instancing.program(73): setting of constant failed
Compiler error: invalid parameters in Instancing.program(74): setting of constant failed
Compiler error: invalid parameters in Instancing.program(76): setting of constant failed
Parsing script Examples.program
File:Example_Basic.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.program(16): setting of constant failed
Compiler error: invalid parameters in Examples.program(17): setting of constant failed
File:Example_Basic.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.program(30): setting of constant failed
Compiler error: invalid parameters in Examples.program(31): setting of constant failed
File:Example_Basic.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.program(239): setting of constant failed
Compiler error: invalid parameters in Examples.program(240): setting of constant failed
Compiler error: invalid parameters in Examples.program(241): setting of constant failed
Compiler error: invalid parameters in Examples.program(242): setting of constant failed
Compiler error: invalid parameters in Examples.program(243): setting of constant failed
Compiler error: invalid parameters in Examples.program(244): setting of constant failed
Compiler error: invalid parameters in Examples.program(245): setting of constant failed
File:Example_Basic.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.program(259): setting of constant failed
Compiler error: invalid parameters in Examples.program(260): setting of constant failed
File:Example_Basic.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.program(273): setting of constant failed
Compiler error: invalid parameters in Examples.program(274): setting of constant failed
File:Example_Basic.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.program(288): setting of constant failed
Compiler error: invalid parameters in Examples.program(289): setting of constant failed
Compiler error: invalid parameters in Examples.program(290): setting of constant failed
Compiler error: invalid parameters in Examples.program(291): setting of constant failed
File:Example_Basic.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.program(304): setting of constant failed
Compiler error: invalid parameters in Examples.program(305): setting of constant failed
Compiler error: invalid parameters in Examples.program(306): setting of constant failed
Compiler error: invalid parameters in Examples.program(307): setting of constant failed
Parsing script StdQuad_vp.program
File:StdQuad_vp.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in StdQuad_vp.program(9): setting of constant failed
File:StdQuad_vp.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in StdQuad_vp.program(21): setting of constant failed
File:StdQuad_vp.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in StdQuad_vp.program(33): setting of constant failed
File:StdQuad_vp.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in StdQuad_vp.program(45): setting of constant failed
File:StdQuad_vp.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in StdQuad_vp.program(57): setting of constant failed
Parsing script deferred_post.program
File:DeferredShading/post/Ambient_ps.cg failed to convert from Cg to glsl with the following errors:
ERROR: 0:29: 'arbfp1' : syntax error syntax error
ERROR: 1 compilation errors. No code generated.
Compiler error: invalid parameters in deferred_post.program(9): setting of constant failed
Compiler error: invalid parameters in deferred_post.program(10): setting of constant failed
Compiler error: invalid parameters in deferred_post.program(11): setting of constant failed
File:DeferredShading/post/LightMaterial_vs.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in deferred_post.program(66): setting of constant failed
File:DeferredShading/post/vs.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in deferred_post.program(82): setting of constant failed
Compiler error: invalid parameters in deferred_post.program(83): setting of constant failed
Parsing script ShadowCaster.program
File:ShadowCaster.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in ShadowCaster.program(9): setting of constant failed
Compiler error: invalid parameters in ShadowCaster.program(10): setting of constant failed
Parsing script ASCII.material
Problem parsing the following GLSL Uniform: ' sampler3D pattern' in file Ogre/Compositor/ASCIIFP
Parsing script ASMSwizzle.material
Compiler error: object unsupported by render system in ASMSwizzle.material(1)
Parsing script BlackAndWhite.material
Parsing script Bloom.material
Parsing script Bloom2.material
Parsing script CGSwizzle.material
File:SwizzleGP.cg has unsupported syntax for hlsl2glsl.
Parsing script CompositorDemo.material
Parsing script DepthShadowmap.material
Compiler error: invalid parameters in DepthShadowmap.material(532): setting of constant failed
File:PassthroughFP.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in DepthShadowmap.material(581): setting of constant failed
Compiler error: invalid parameters in DepthShadowmap.material(582): setting of constant failed
Compiler error: invalid parameters in DepthShadowmap.material(620): setting of constant failed
Compiler error: invalid parameters in DepthShadowmap.material(683): setting of constant failed
Compiler error: invalid parameters in DepthShadowmap.material(684): setting of constant failed
Compiler error: invalid parameters in DepthShadowmap.material(532): setting of constant failed
Compiler error: invalid parameters in DepthShadowmap.material(581): setting of constant failed
Compiler error: invalid parameters in DepthShadowmap.material(582): setting of constant failed
Compiler error: invalid parameters in DepthShadowmap.material(620): setting of constant failed
Compiler error: invalid parameters in DepthShadowmap.material(683): setting of constant failed
Compiler error: invalid parameters in DepthShadowmap.material(684): setting of constant failed
Parsing script Dither.material
Parsing script DOF.material
Parsing script Embossed.material
Parsing script Example-Water.material
Parsing script Examples-Advanced.material
File:Example_CelShading.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples-Advanced.material(12): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(13): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(14): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(15): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(277): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(278): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(346): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(347): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(277): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(278): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(346): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(347): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(277): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(278): setting of constant failed
File:Example_BumpMapping.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples-Advanced.material(422): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(423): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(346): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(347): setting of constant failed
File:Example_Projection.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples-Advanced.material(466): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(467): setting of constant failed
Compiler error: object unsupported by render system in Examples-Advanced.material(526)
File:Example_Fresnel.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples-Advanced.material(613): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(614): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(615): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(616): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(617): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(618): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(619): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(620): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(621): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(277): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(278): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(346): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(347): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(277): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(278): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(346): setting of constant failed
Compiler error: invalid parameters in Examples-Advanced.material(347): setting of constant failed
Parsing script Examples-DynTex.material
Parsing script Examples-Water.material
Parsing script Examples.material
Compiler error: invalid parameters in Examples.material(265): setting of constant failed
Compiler error: invalid parameters in Examples.material(266): setting of constant failed
File:Example_Basic.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.material(785): setting of constant failed
Compiler error: invalid parameters in Examples.material(786): setting of constant failed
Compiler error: invalid parameters in Examples.material(787): setting of constant failed
Compiler error: invalid parameters in Examples.material(788): setting of constant failed
Compiler error: invalid parameters in Examples.material(789): setting of constant failed
Compiler error: invalid parameters in Examples.material(790): setting of constant failed
Compiler error: invalid parameters in Examples.material(791): setting of constant failed
File:Example_Basic.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.material(797): setting of constant failed
Compiler error: invalid parameters in Examples.material(798): setting of constant failed
Compiler error: invalid parameters in Examples.material(799): setting of constant failed
File:Grass.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.material(845): setting of constant failed
Compiler error: invalid parameters in Examples.material(849): setting of constant failed
Compiler error: invalid parameters in Examples.material(850): setting of constant failed
Compiler error: invalid parameters in Examples.material(851): setting of constant failed
Compiler error: invalid parameters in Examples.material(853): setting of constant failed
File:Grass.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.material(865): setting of constant failed
Compiler error: invalid parameters in Examples.material(866): setting of constant failed
File:Grass.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.material(877): setting of constant failed
Compiler error: invalid parameters in Examples.material(878): setting of constant failed
Compiler error: invalid parameters in Examples.material(879): setting of constant failed
File:Grass.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.material(909): setting of constant failed
Compiler error: invalid parameters in Examples.material(910): setting of constant failed
Compiler error: invalid parameters in Examples.material(911): setting of constant failed
File:Grass.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Examples.material(932): setting of constant failed
Compiler error: invalid parameters in Examples.material(933): setting of constant failed
Compiler error: invalid parameters in Examples.material(934): setting of constant failed
Compiler error: invalid parameters in Examples.material(936): setting of constant failed
Compiler error: invalid parameters in Examples.material(938): setting of constant failed
Compiler error: invalid parameters in Examples.material(939): setting of constant failed
Compiler error: invalid parameters in Examples.material(941): setting of constant failed
Compiler error: invalid parameters in Examples.material(1460): setting of constant failed
File:Example_Basic.cg failed to convert from Cg to glsl with the following errors:
ERROR: 0:37: 'float3x4' : syntax error syntax error
ERROR: 1 compilation errors. No code generated.
Compiler error: invalid parameters in Examples.material(1949): setting of constant failed
File:Example_Basic.cg failed to convert from Cg to glsl with the following errors:
ERROR: 0:37: 'float3x4' : syntax error syntax error
ERROR: 1 compilation errors. No code generated.
Compiler error: invalid parameters in Examples.material(1975): setting of constant failed
Compiler error: invalid parameters in Examples.material(2002): setting of constant failed
Parsing script facial.material
Parsing script Glass.material
Parsing script GLSLSwizzle.material
Parsing script Halftone.material
Problem parsing the following GLSL Uniform: ' sampler3D pattern' in file Ogre/Compositor/HalftoneFP
Parsing script hdr.material
Parsing script HeatVision.material
File:HeatVision.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HeatVision.material(50): setting of constant failed
Compiler error: invalid parameters in HeatVision.material(51): setting of constant failed
File:HeatVision.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HeatVision.material(110): setting of constant failed
Compiler error: invalid parameters in HeatVision.material(111): setting of constant failed
File:HeatVision.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HeatVision.material(134): setting of constant failed
File:HeatVision.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HeatVision.material(239): setting of constant failed
Parsing script Hurt.material
Parsing script HW_VTFInstancing.material
Parsing script HWInstancing.material
File:HWBasicInstancing.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HWInstancing.material(54): setting of constant failed
Compiler error: invalid parameters in HWInstancing.material(56): setting of constant failed
Compiler error: invalid parameters in HWInstancing.material(57): setting of constant failed
File:HWBasicInstancing.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HWInstancing.material(68): setting of constant failed
Compiler error: invalid parameters in HWInstancing.material(69): setting of constant failed
Parsing script instancing.material
File:instancing.cg failed to convert from Cg to glsl with the following errors:
ERROR: 0:4: 'float3x4' : syntax error syntax error
ERROR: 1 compilation errors. No code generated.
Compiler error: invalid parameters in instancing.material(10): setting of constant failed
Compiler error: invalid parameters in instancing.material(11): setting of constant failed
Compiler error: invalid parameters in instancing.material(12): setting of constant failed
Compiler error: invalid parameters in instancing.material(13): setting of constant failed
Compiler error: invalid parameters in instancing.material(14): setting of constant failed
File:instancing.cg failed to convert from Cg to glsl with the following errors:
ERROR: 0:4: 'float3x4' : syntax error syntax error
ERROR: 1 compilation errors. No code generated.
Compiler error: invalid parameters in instancing.material(24): setting of constant failed
Compiler error: invalid parameters in instancing.material(25): setting of constant failed
Compiler error: invalid parameters in instancing.material(26): setting of constant failed
File:instancing.cg failed to convert from Cg to glsl with the following errors:
ERROR: 0:4: 'float3x4' : syntax error syntax error
ERROR: 1 compilation errors. No code generated.
Compiler error: invalid parameters in instancing.material(36): setting of constant failed
Compiler error: invalid parameters in instancing.material(37): setting of constant failed
Compiler error: invalid parameters in instancing.material(38): setting of constant failed
Compiler error: invalid parameters in instancing.material(39): setting of constant failed
Compiler error: invalid parameters in instancing.material(40): setting of constant failed
Compiler error: invalid parameters in instancing.material(41): setting of constant failed
File:instancing.cg failed to convert from Cg to glsl with the following errors:
ERROR: 0:4: 'float3x4' : syntax error syntax error
ERROR: 1 compilation errors. No code generated.
Compiler error: invalid parameters in instancing.material(51): setting of constant failed
Compiler error: invalid parameters in instancing.material(52): setting of constant failed
Compiler error: invalid parameters in instancing.material(53): setting of constant failed
Compiler error: invalid parameters in instancing.material(54): setting of constant failed
Parsing script InstancingMisc.material
File:InstancingMisc.cg failed to convert from Cg to glsl with the following errors:
Unsupported element type in struct for shader return value (struct)
Compiler error: invalid parameters in InstancingMisc.material(41): setting of constant failed
Compiler error: invalid parameters in InstancingMisc.material(42): setting of constant failed
Compiler error: invalid parameters in InstancingMisc.material(43): setting of constant failed
Compiler error: invalid parameters in InstancingMisc.material(44): setting of constant failed
Parsing script Invert.material
Parsing script IsoSurf.material
File:isosurf.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in IsoSurf.material(49): setting of constant failed
Compiler error: invalid parameters in IsoSurf.material(50): setting of constant failed
Compiler error: invalid parameters in IsoSurf.material(51): setting of constant failed
File:isosurf.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in IsoSurf.material(64): setting of constant failed
File:isosurf.cg has unsupported syntax for hlsl2glsl.
Parsing script Laplace.material
Parsing script MotionBlur.material
Parsing script MRTtest.material
Compiler error: invalid parameters in MRTtest.material(36): setting of constant failed
Compiler error: invalid parameters in MRTtest.material(37): setting of constant failed
Parsing script NightVision.material
Problem parsing the following GLSL Uniform: ' sampler3D noiseVol' in file Ogre/Compositor/NightVisionFP
Parsing script Ocean.material
File:oceanHLSL_Cg.vert has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Ocean.material(191): setting of constant failed
Compiler error: invalid parameters in Ocean.material(192): setting of constant failed
Compiler error: invalid parameters in Ocean.material(193): setting of constant failed
Compiler error: invalid parameters in Ocean.material(194): setting of constant failed
Compiler error: invalid parameters in Ocean.material(214): setting of constant failed
Compiler error: invalid parameters in Ocean.material(215): setting of constant failed
Problem parsing the following GLSL Uniform: ' sampler3D Noise' in file Cg/OceanFS
Problem parsing the following GLSL Uniform: ' sampler3D xlu_Noise' in file Cg/OceanFS
File:Ocean2HLSL_Cg.vert has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in Ocean.material(254): setting of constant failed
Compiler error: invalid parameters in Ocean.material(255): setting of constant failed
Compiler error: invalid parameters in Ocean.material(275): setting of constant failed
Compiler error: invalid parameters in Ocean.material(276): setting of constant failed
Compiler error: invalid parameters in Ocean.material(277): setting of constant failed
Compiler error: invalid parameters in Ocean.material(278): setting of constant failed
Compiler error: invalid parameters in Ocean.material(279): setting of constant failed
Compiler error: invalid parameters in Ocean.material(280): setting of constant failed
Parsing script OffsetMapping.material
Compiler error: object unsupported by render system in OffsetMapping.material(35)
Compiler error: invalid parameters in OffsetMapping.material(108): setting of constant failed
File:PassthroughFP.cg has unsupported syntax for hlsl2glsl.
File:OffsetMapping.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in OffsetMapping.material(126): setting of constant failed
Compiler error: invalid parameters in OffsetMapping.material(127): setting of constant failed
Compiler error: invalid parameters in OffsetMapping.material(128): setting of constant failed
File:OffsetMapping.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in OffsetMapping.material(134): setting of constant failed
Compiler error: invalid parameters in OffsetMapping.material(135): setting of constant failed
Compiler error: invalid parameters in OffsetMapping.material(137): setting of constant failed
Compiler error: invalid parameters in OffsetMapping.material(164): setting of constant failed
Compiler error: invalid parameters in OffsetMapping.material(219): setting of constant failed
Parsing script Ogre.material
Parsing script OldMovie.material
Problem parsing the following GLSL Uniform: ' sampler1D SepiaTx' in file Ogre/Compositor/OldMovie_Cg_FP
Problem parsing the following GLSL Uniform: ' sampler1D Texture2' in file Ogre/Compositor/OldMovie_Cg_FP
Parsing script OldTV.material
Problem parsing the following GLSL Uniform: ' sampler3D Noise' in file Ogre/Compositor/OldTV_FP
Problem parsing the following GLSL Uniform: ' sampler3D Rand' in file Ogre/Compositor/OldTV_FP
Parsing script ParticleGS.material
File:ParticleGS.cg has unsupported syntax for hlsl2glsl.
File:ParticleGS.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in ParticleGS.material(90): setting of constant failed
Compiler error: invalid parameters in ParticleGS.material(91): setting of constant failed
Compiler error: invalid parameters in ParticleGS.material(92): setting of constant failed
Compiler error: invalid parameters in ParticleGS.material(93): setting of constant failed
File:ParticleGS.cg has unsupported syntax for hlsl2glsl.
File:ParticleGS.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in ParticleGS.material(150): setting of constant failed
Compiler error: invalid parameters in ParticleGS.material(151): setting of constant failed
File:ParticleGS.cg has unsupported syntax for hlsl2glsl.
Parsing script Penguin.material
Parsing script Posterize.material
Parsing script pssm.material
File:pssm.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in pssm.material(13): setting of constant failed
File:pssm.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in pssm.material(103): setting of constant failed
Compiler error: invalid parameters in pssm.material(104): setting of constant failed
Compiler error: invalid parameters in pssm.material(105): setting of constant failed
Compiler error: invalid parameters in pssm.material(106): setting of constant failed
Compiler error: invalid parameters in pssm.material(107): setting of constant failed
Compiler error: invalid parameters in pssm.material(108): setting of constant failed
File:pssm.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in pssm.material(123): setting of constant failed
Compiler error: invalid parameters in pssm.material(124): setting of constant failed
Compiler error: invalid parameters in pssm.material(125): setting of constant failed
Compiler error: invalid parameters in pssm.material(126): setting of constant failed
Compiler error: invalid parameters in pssm.material(127): setting of constant failed
Compiler error: invalid parameters in pssm.material(128): setting of constant failed
Parsing script RadialBlur.material
Parsing script RZR-002.material
Parsing script ShaderInstancing.material
File:ShaderInstancing.cg failed to convert from Cg to glsl with the following errors:
ERROR: 0:28: 'float3x4' : syntax error syntax error
ERROR: 1 compilation errors. No code generated.
Compiler error: invalid parameters in ShaderInstancing.material(62): setting of constant failed
Compiler error: invalid parameters in ShaderInstancing.material(63): setting of constant failed
Compiler error: invalid parameters in ShaderInstancing.material(65): setting of constant failed
Compiler error: invalid parameters in ShaderInstancing.material(66): setting of constant failed
File:ShaderInstancing.cg failed to convert from Cg to glsl with the following errors:
ERROR: 0:28: 'float3x4' : syntax error syntax error
ERROR: 1 compilation errors. No code generated.
Compiler error: invalid parameters in ShaderInstancing.material(77): setting of constant failed
Compiler error: invalid parameters in ShaderInstancing.material(78): setting of constant failed
Compiler error: invalid parameters in ShaderInstancing.material(79): setting of constant failed
Parsing script ShaderSystem.material
Parsing script shadows.material
File:depthshadowobject.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in shadows.material(12): setting of constant failed
Compiler error: invalid parameters in shadows.material(13): setting of constant failed
File:depthshadowobject.cg has unsupported syntax for hlsl2glsl.
File:depthshadowobject.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in shadows.material(40): setting of constant failed
Compiler error: invalid parameters in shadows.material(41): setting of constant failed
Compiler error: invalid parameters in shadows.material(42): setting of constant failed
Compiler error: invalid parameters in shadows.material(43): setting of constant failed
Compiler error: invalid parameters in shadows.material(44): setting of constant failed
Compiler error: invalid parameters in shadows.material(45): setting of constant failed
Compiler error: invalid parameters in shadows.material(47): setting of constant failed
Compiler error: invalid parameters in shadows.material(48): setting of constant failed
Compiler error: invalid parameters in shadows.material(49): setting of constant failed
File:depthshadowobject.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in shadows.material(62): setting of constant failed
Compiler error: invalid parameters in shadows.material(64): setting of constant failed
Compiler error: invalid parameters in shadows.material(65): setting of constant failed
Compiler error: invalid parameters in shadows.material(66): setting of constant failed
Parsing script SharpenEdges.material
Parsing script sibenik.material
Parsing script smoke.material
Parsing script Tiling.material
Parsing script VarianceShadowmap.material
File:varianceshadowcastervp.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in VarianceShadowmap.material(13): setting of constant failed
File:varianceshadowcasterfp.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in VarianceShadowmap.material(25): setting of constant failed
Compiler error: invalid parameters in VarianceShadowmap.material(26): setting of constant failed
File:varianceshadowreceivervp.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in VarianceShadowmap.material(61): setting of constant failed
Compiler error: invalid parameters in VarianceShadowmap.material(62): setting of constant failed
Compiler error: invalid parameters in VarianceShadowmap.material(63): setting of constant failed
Compiler error: invalid parameters in VarianceShadowmap.material(64): setting of constant failed
File:varianceshadowreceiverfp.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in VarianceShadowmap.material(76): setting of constant failed
Compiler error: invalid parameters in VarianceShadowmap.material(77): setting of constant failed
Parsing script VTFInstancing.material
Parsing script deferred_post.material
Parsing script deferred_post_minilight.material
Parsing script deferreddemo.material
Parsing script ShadowCaster.material
Parsing script ssao.material
File:ssao.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in ssao.material(11): setting of constant failed
File:ssao.cg has unsupported syntax for hlsl2glsl.
File:ssao.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in ssao.material(33): setting of constant failed
File:ssao.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in ssao.material(44): setting of constant failed
Parsing script ROOM.material
Parsing script HardwareSkinningShadow.material
File:HardwareSkinningShadow.cg failed to convert from Cg to glsl with the following errors:
ERROR: 0:24: 'float3x4' : syntax error syntax error
ERROR: 1 compilation errors. No code generated.
File:HardwareSkinningShadow.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HardwareSkinningShadow.material(29): setting of constant failed
Compiler error: invalid parameters in HardwareSkinningShadow.material(30): setting of constant failed
File:HardwareSkinningShadow.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HardwareSkinningShadow.material(43): setting of constant failed
Compiler error: invalid parameters in HardwareSkinningShadow.material(44): setting of constant failed
File:HardwareSkinningShadow.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HardwareSkinningShadow.material(57): setting of constant failed
Compiler error: invalid parameters in HardwareSkinningShadow.material(58): setting of constant failed
File:HardwareSkinningShadow.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HardwareSkinningShadow.material(72): setting of constant failed
Compiler error: invalid parameters in HardwareSkinningShadow.material(73): setting of constant failed
File:HardwareSkinningShadow.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HardwareSkinningShadow.material(169): setting of constant failed
Compiler error: invalid parameters in HardwareSkinningShadow.material(170): setting of constant failed
File:HardwareSkinningShadow.cg has unsupported syntax for hlsl2glsl.
Compiler error: invalid parameters in HardwareSkinningShadow.material(182): setting of constant failed
Compiler error: invalid parameters in HardwareSkinningShadow.material(202): setting of constant failed
Compiler error: invalid parameters in HardwareSkinningShadow.material(203): setting of constant failed
Compiler error: invalid parameters in HardwareSkinningShadow.material(204): setting of constant failed
Compiler error: invalid parameters in HardwareSkinningShadow.material(208): setting of constant failed
Parsing script RTShaderSystem.material
Compiler error: unknown error in RTShaderSystem.material(23): token class, rtshader_system, unrecognized.
Compiler error: unknown error in RTShaderSystem.material(52): token class, rtshader_system, unrecognized.
Compiler error: unknown error in RTShaderSystem.material(81): token class, rtshader_system, unrecognized.
Compiler error: unknown error in RTShaderSystem.material(110): token class, rtshader_system, unrecognized.
Compiler error: unknown error in RTShaderSystem.material(146): token class, rtshader_system, unrecognized.
Compiler error: unknown error in RTShaderSystem.material(162): token class, rtshader_system, unrecognized.
Compiler error: unknown error in RTShaderSystem.material(211): token class, rtshader_system, unrecognized.
Parsing script RomanBath.material
Parsing script Sinbad.material
Parsing script emitted_emitter.particle
Parsing script Examples-Water.particle
Parsing script Examples.particle
Parsing script smoke.particle
Parsing script Examples.compositor
Parsing script deferred.compositor
Parsing script ssao.compositor
Parsing script sample.fontdef
Finished parsing scripts for resource group Popular
Creating resources for group Popular
All done
Installing plugin: Bezier Patch Sample
Plugin successfully installed
Installing plugin: BSP Sample
Plugin successfully installed
Installing plugin: Camera Tracking Sample
Plugin successfully installed
Installing plugin: Cel-shading Sample
Plugin successfully installed
Installing plugin: Character Sample
Plugin successfully installed
Installing plugin: Compositor Sample
Plugin successfully installed
Installing plugin: Cube Mapping Sample
Plugin successfully installed
Installing plugin: Deferred Shading Sample
Plugin successfully installed
Installing plugin: Bump Mapping Sample
Plugin successfully installed
Installing plugin: Dynamic Texturing Sample
Plugin successfully installed
Installing plugin: Facial Animation Sample
Plugin successfully installed
Installing plugin: Fresnel Sample
Plugin successfully installed
Installing plugin: Grass Sample
Plugin successfully installed
Installing plugin: Lighting Sample
Plugin successfully installed
Installing plugin: Ocean Sample
Plugin successfully installed
Installing plugin: Particle Effects Sample
Plugin successfully installed
Installing plugin: Shader System Sample
Plugin successfully installed
Installing plugin: Shadows Sample
Plugin successfully installed
Installing plugin: Skeletal Animation Sample
Plugin successfully installed
Installing plugin: Sky Box Sample
Plugin successfully installed
Installing plugin: Sky Dome Sample
Plugin successfully installed
Installing plugin: Sky Plane Sample
Plugin successfully installed
Installing plugin: Smoke Sample
Plugin successfully installed
Installing plugin: Sphere Mapping Sample
Plugin successfully installed
Installing plugin: Terrain Sample
Plugin successfully installed
Installing plugin: Texture Array Sample
Plugin successfully installed
Installing plugin: Texture Effects Sample
Plugin successfully installed
Installing plugin: Transparency Sample
Plugin successfully installed
Installing plugin: Water Sample
Plugin successfully installed
Texture: thumb_bsp.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_bezier.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_bump.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_camtrack.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_cel.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_char.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,128x128x1.
Texture: thumb_comp.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_cubemap.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_deferred.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_dyntex.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_facial.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_fresnel.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_grass.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_lighting.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_ocean.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,128x128x1.
Texture: thumb_particles.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_shadersystem.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,128x128x1.
Texture: thumb_shadows.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,128x128x1.
Texture: thumb_skelanim.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_skybox.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_skydome.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_skyplane.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_smoke.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_spheremap.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_terrain.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_texarray.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,128x128x1.
Texture: thumb_texfx.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_trans.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: thumb_water.png: Loading 1 faces(PF_A8B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Font SdkTrays/Captionusing texture size 512x256
Info: Freetype returned null for character 160 in font SdkTrays/Caption
Texture: SdkTrays/CaptionTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with hardware generated mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
Font SdkTrays/Valueusing texture size 512x256
Info: Freetype returned null for character 127 in font SdkTrays/Value
Info: Freetype returned null for character 128 in font SdkTrays/Value
Info: Freetype returned null for character 129 in font SdkTrays/Value
Info: Freetype returned null for character 130 in font SdkTrays/Value
Info: Freetype returned null for character 131 in font SdkTrays/Value
Info: Freetype returned null for character 132 in font SdkTrays/Value
Info: Freetype returned null for character 133 in font SdkTrays/Value
Info: Freetype returned null for character 134 in font SdkTrays/Value
Info: Freetype returned null for character 135 in font SdkTrays/Value
Info: Freetype returned null for character 136 in font SdkTrays/Value
Info: Freetype returned null for character 137 in font SdkTrays/Value
Info: Freetype returned null for character 138 in font SdkTrays/Value
Info: Freetype returned null for character 139 in font SdkTrays/Value
Info: Freetype returned null for character 140 in font SdkTrays/Value
Info: Freetype returned null for character 141 in font SdkTrays/Value
Info: Freetype returned null for character 142 in font SdkTrays/Value
Info: Freetype returned null for character 143 in font SdkTrays/Value
Info: Freetype returned null for character 144 in font SdkTrays/Value
Info: Freetype returned null for character 145 in font SdkTrays/Value
Info: Freetype returned null for character 146 in font SdkTrays/Value
Info: Freetype returned null for character 147 in font SdkTrays/Value
Info: Freetype returned null for character 148 in font SdkTrays/Value
Info: Freetype returned null for character 149 in font SdkTrays/Value
Info: Freetype returned null for character 150 in font SdkTrays/Value
Info: Freetype returned null for character 151 in font SdkTrays/Value
Info: Freetype returned null for character 152 in font SdkTrays/Value
Info: Freetype returned null for character 153 in font SdkTrays/Value
Info: Freetype returned null for character 154 in font SdkTrays/Value
Info: Freetype returned null for character 155 in font SdkTrays/Value
Info: Freetype returned null for character 156 in font SdkTrays/Value
Info: Freetype returned null for character 157 in font SdkTrays/Value
Info: Freetype returned null for character 158 in font SdkTrays/Value
Info: Freetype returned null for character 159 in font SdkTrays/Value
Info: Freetype returned null for character 160 in font SdkTrays/Value
Texture: SdkTrays/ValueTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with hardware generated mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
[Switching to process 695]
Program received signal: “EXC_BAD_ACCESS”.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Not safe to call dlopen at this time.)
#0 0x0d74c827 in gleRunVertexSubmitImmediate
#1 0x0d74bad3 in gleLLVMArrayFunc
#2 0x0d74ba7b in gleSetVertexArrayFunc
#3 0x0d7425b6 in gleDrawArraysOrElements_ExecCore
#4 0x0d723aa7 in glDrawArrays_Exec
#5 0x0d78d5eb in gleBlitFramebuffer
#6 0x0d7375d6 in glResolveMultisampleFramebufferAPPLE_Exec
#7 0x0483fcce in glResolveMultisampleFramebufferAPPLE
#8 0x00235fb2 in Ogre::EAGL2Window::swapBuffers at OgreEAGL2Window.mm:427
#9 0x004bb283 in Ogre::RenderSystem::_swapAllRenderTargetBuffers at OgreRenderSystem.cpp:135
#10 0x005149fd in Ogre::Root::_updateAllRenderTargets at OgreRoot.cpp:1404
#11 0x00514abb in Ogre::Root::renderOneFrame at OgreRoot.cpp:988
#12 0x000346d5 in -[AppDelegate renderOneFrame:] at SampleBrowser_iOS.h:197
#13 0x023d11c9 in __NSFireTimer
#14 0x04959f73 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
#15 0x0495b5b4 in __CFRunLoopDoTimer
#16 0x048b7dd9 in __CFRunLoopRun
#17 0x048b7350 in CFRunLoopRunSpecific
#18 0x048b7271 in CFRunLoopRunInMode
#19 0x0540500c in GSEventRunModal
#20 0x054050d1 in GSEventRun
#21 0x02a34af2 in UIApplicationMain
#22 0x00032e8f in main at SampleBrowser.cpp:54
---------------------
another test:
undef USE_RTSHADER_SYSTEM , then happened this:
Program received signal: “EXC_BAD_ACCESS”.
Pending breakpoint 1 - ""SampleBrowser_iOS.h":100" resolved
breakpoint at :
OpenGLSLESLinkProgram.mm 265
Code: Select all
GLuint GLSLESLinkProgram::getAttributeIndex(VertexElementSemantic semantic, uint index)
{
GLint res = mCustomAttributesIndexes[semantic-1][index];
#0 0x00105fb3 in Ogre::GLSLESLinkProgram::getAttributeIndex at OgreGLSLESLinkProgram.cpp:267
#1 0x0010677d in Ogre::GLSLESLinkProgram::isAttributeValid at OgreGLSLESLinkProgram.cpp:298
#2 0x000e8454 in Ogre::GLES2RenderSystem::_render at OgreGLES2RenderSystem.cpp:1548
#3 0x003e09da in Ogre::SceneManager::renderSingleObject at OgreSceneManager.cpp:3439
#4 0x003cc9c4 in Ogre::SceneManager::BRAND NAME::visit at OgreSceneManager.cpp:2894
#5 0x003563c8 in Ogre::QueuedRenderableCollection::acceptVisitorDescending at OgreRenderQueueSortingGrouping.cpp:465
#6 0x00356e81 in Ogre::QueuedRenderableCollection::acceptVisitor at OgreRenderQueueSortingGrouping.cpp:421
#7 0x003e0f8d in Ogre::SceneManager::renderObjects at OgreSceneManager.cpp:2964
#8 0x003e10a2 in Ogre::SceneManager::renderBasicQueueGroupObjects at OgreSceneManager.cpp:3047
#9 0x003ddb23 in Ogre::SceneManager::_renderQueueGroupObjects at OgreSceneManager.cpp:3021
#10 0x003e2f7f in Ogre::SceneManager::renderVisibleObjectsDefaultSequence at OgreSceneManager.cpp:2301
#11 0x003e31c9 in Ogre::SceneManager::_renderVisibleObjects at OgreSceneManager.cpp:2217
#12 0x003e76fb in Ogre::SceneManager::_renderScene at OgreSceneManager.cpp:1523
#13 0x0015f98c in Ogre::Camera::_renderScene at OgreCamera.cpp:412
#14 0x004fae35 in Ogre::Viewport::update at OgreViewport.cpp:217
#15 0x00381140 in Ogre::RenderTarget::_updateViewport at OgreRenderTarget.cpp:199
#16 0x003811fe in Ogre::RenderTarget::_updateAutoUpdatedViewports at OgreRenderTarget.cpp:177
#17 0x0037f21e in Ogre::RenderTarget::updateImpl at OgreRenderTarget.cpp:154
#18 0x0037f869 in Ogre::RenderTarget::update at OgreRenderTarget.cpp:611
#19 0x00360987 in Ogre::RenderSystem::_updateAllRenderTargets at OgreRenderSystem.cpp:122
#20 0x003ba9a9 in Ogre::Root::_updateAllRenderTargets at OgreRoot.cpp:1400
#21 0x003baaab in Ogre::Root::renderOneFrame at OgreRoot.cpp:988
#22 0x00024ce9 in -[AppDelegate renderOneFrame:] at SampleBrowser_iOS.h:197
-
masterfalcon
- OGRE Retired Team Member

- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
Ok. I would recommend turning off the Cg for GL ES option for now. It hasn't gotten much attention and was not working well the last time I looked at it on iOS.
-
fanlansen
- Gnoblar
- Posts: 18
- Joined: Tue Jun 29, 2010 9:28 am
Re: Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
disable cg and add code like this:
mShaderGenerator->setTargetLanguage("glsles");
get another error :
Failed to move PC to OgreGLSLESLinkProgram.cpp:178.
but mFragmentProgram is NULL.
and I find this:
I think, code on the up is error : && --> ||
mShaderGenerator->setTargetLanguage("glsles");
get another error :
Failed to move PC to OgreGLSLESLinkProgram.cpp:178.
Code: Select all
// compile and attach Fragment Program
if (!mFragmentProgram->getGLSLProgram()->compile(true))
{
// todo error
mTriedToLinkAndFailed = true;
return;
}
mFragmentProgram->getGLSLProgram()->attachToProgramObject(mGLHandle);
and I find this:
Code: Select all
if (!mVertexProgram && !mFragmentProgram)
{
OGRE_EXCEPT(Exception::ERR_RENDERINGAPI_ERROR,
"Attempted to create a shader program without both a vertex and fragment program.",
"GLSLESLinkProgram::GLSLESLinkProgram");
}
-
masterfalcon
- OGRE Retired Team Member

- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
No, it should be &&. GLSL ES requires that you have both a vertex and fragment shader attached to a program. Have you tried deleting the app from the simulator, deleting your build dir and rebuilding?
-
fanlansen
- Gnoblar
- Posts: 18
- Joined: Tue Jun 29, 2010 9:28 am
Re: Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
Please see:"but mFragmentProgram is NULL." this is in debugger.masterfalcon wrote:No, it should be &&. GLSL ES requires that you have both a vertex and fragment shader attached to a program. Have you tried deleting the app from the simulator, deleting your build dir and rebuilding?
GLSL ES requires that you have both a vertex and fragment shader attached to a program ,then need (mVertexProgram !=NULL && mFragmentProgram!=NULL) ;else case is :
!(mVertexProgram !=NULL && mFragmentProgram!=NULL), or can be writen : !(mVertexProgram && mFragmentProgram). but THIS EXISTS IS WRONG.
-
masterfalcon
- OGRE Retired Team Member

- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
Ahh, I see your point now. You're right. I'll get that fixed up.
-
blackmonster
- Halfling
- Posts: 55
- Joined: Tue May 17, 2011 11:20 am
- x 1
Re: Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
I have the same error, that is the last (i hope
) step to get stencil shadows working on the iphone.
-
masterfalcon
- OGRE Retired Team Member

- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
THe bug has already been fixed. So you'll have to check which of the two programs is null.
-
blackmonster
- Halfling
- Posts: 55
- Joined: Tue May 17, 2011 11:20 am
- x 1
Re: Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
fragment program is null. i think it is due to error in rtshadermaterial script. i still get errors in ogre's log about unrecognized token
-
blackmonster
- Halfling
- Posts: 55
- Joined: Tue May 17, 2011 11:20 am
- x 1
Re: Ogre1.8+iOS4.1 + OpenGLES2 +Simulator error
i have enabled a stencil test on my iphone build and it works (i tested with simple quad used for modulative shadows.) but i can't still enable shadows. even the debug shadow volume is not drawn