Page 1 of 1

DX11 with Ogre3d Error

Posted: Mon Oct 30, 2017 20:41
by mjbourquin
I have Ogre 1.10.8 with CEGUI 0.8.7 compiled and I am getting this error when running the DX11 Renderer:

Exception thrown at 0x00007FFE1BB59E08 in spacegam1_Debug.exe: Microsoft C++ exception: Ogre::D3D11RenderingAPIException at memory location 0x000000A6238FAEE0.
Ogre: High-level program '__cegui_internal_ps__' is not supported: Cannot compile D3D11 high-level shader __cegui_internal_ps__ Errors:
(1,145-169): error X3523: DX9-style intrinsics are disabled when not in dx9 compatibility mode.

Is this a bug in the CEGUI shader code?

Re: DX11 with Ogre3d Error

Posted: Tue Oct 31, 2017 00:52
by Ident
Yes could be, have you tried with the latest v0-8 version from the repository?

Re: DX11 with Ogre3d Error

Posted: Thu Nov 02, 2017 20:19
by mjbourquin
Unfortunately, CEGUIMain.dll was crashing with the latest build on branch 0.8 I did on my framework and I can't find any issues with mismatched dll's. It's a chore to clean/compile on my computer too, so I cant test to see if it was fixed. This was with revision: 6657

I'm just using the 0.8.7 release for now which doesn't work with ogre1.1.8Dx11 (for me). It would be nice if someone else could confirm.

Re: DX11 with Ogre3d Error

Posted: Sun Apr 08, 2018 01:40
by crancran
@mjbourquin, I recently fixed the shaders on the default branch while integrating support for OGRE 2.1. I don't presently have an OGRE 1.10 environment, but it'd be interesting to know if the default branch works for DX11 for you if you could try.