[Solved] Direct3D11 runtime errors, Volume

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
saintnick
Halfling
Posts: 51
Joined: Tue Nov 27, 2018 1:41 am
x 5

[Solved] Direct3D11 runtime errors, Volume

Post by saintnick »

Ogre Version:1.11 :?:
Operating System: windows 10 :?:
Render System: directx :?:

This error doesn't happen when running OpenGL.

Ogre.log

Code: Select all

17:56:30: Ogre::RenderingAPIException::RenderingAPIException: Error creating texture
Error Description:invalid parameters were passed.
 in D3D11Texture::_create3DTex at ogre-source\RenderSystems\Direct3D11\src\OgreD3D11Texture.cpp (line 431)
Code throwing exception

Code: Select all

	Volume::CSGSphereSource sphere(5, Vector3(128, 150, 128));
	Volume::TextureSource volumeTexture ("volumeTerrainBig.dds", 256, 256, 256, true, false, false);
	Ogre::Volume::CSGUnionSource unionSrc(&sphere, &volumeTexture);
	
	Ogre::Volume::ChunkParameters parameters;
	parameters.sceneManager = mScnMgr;       // The SceneManager to use
	parameters.src = &unionSrc;                // The just created density source.
	parameters.baseError = (Real)1.8;          // The error of the highest LOD-level
	parameters.errorMultiplicator = (Real)0.9; // The factor between each LOD-level (error = baseError * errorMultiplicator  * level)
	parameters.skirtFactor = (Real)0.7;        // Controls how long the skirts are. The lower the number, the shorter the skirts are. This saves geometry. But if they are too short, cracks might occure.
	parameters.scale = 10;                     // The displayed volume will be scaled by this factor.
	parameters.maxScreenSpaceError = 30;       // The screen space error controlling when the LOD-levels change.
	
	Ogre::Volume::Chunk *volumeRoot = OGRE_NEW Volume::Chunk();
	mVolumeRootNode = mScnMgr->getRootSceneNode()->createChildSceneNode("VolumeParent");
	
Last edited by saintnick on Wed Dec 19, 2018 12:53 am, edited 1 time in total.
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Direct3D11 runtime errors, Volume

Post by paroj »

please post the full log
User avatar
saintnick
Halfling
Posts: 51
Joined: Tue Nov 27, 2018 1:41 am
x 5

Re: Direct3D11 runtime errors, Volume

Post by saintnick »

Code: Select all

20:42:46: Creating resource group General
20:42:46: Creating resource group OgreInternal
20:42:46: Creating resource group OgreAutodetect
20:42:46: SceneManagerFactory for type 'DefaultSceneManager' registered.
20:42:46: Registering ResourceManager for type Material
20:42:46: Registering ResourceManager for type Mesh
20:42:46: Registering ResourceManager for type Skeleton
20:42:46: MovableObjectFactory for type 'ParticleSystem' registered.
20:42:46: ArchiveFactory for archive type FileSystem registered.
20:42:46: ArchiveFactory for archive type Zip registered.
20:42:46: ArchiveFactory for archive type EmbeddedZip registered.
20:42:46: DDS codec registering
20:42:46: ETC codec registering
20:42:46: Registering ResourceManager for type HighLevelGpuProgram
20:42:46: Registering ResourceManager for type Compositor
20:42:46: MovableObjectFactory for type 'Entity' registered.
20:42:46: MovableObjectFactory for type 'Light' registered.
20:42:46: MovableObjectFactory for type 'BillboardSet' registered.
20:42:46: MovableObjectFactory for type 'ManualObject' registered.
20:42:46: MovableObjectFactory for type 'BillboardChain' registered.
20:42:46: MovableObjectFactory for type 'RibbonTrail' registered.
20:42:46: Loading library /ogre-build/bin/Debug/.\RenderSystem_Direct3D11_d
20:42:46: Installing plugin: D3D11 RenderSystem
20:42:46: D3D11: Direct3D11 Rendering Subsystem created.
20:42:46: D3D11: Driver Detection Starts
20:42:46: D3D11: "NVIDIA GeForce GTX 1070"
20:42:46: D3D11: "Microsoft Basic Render Driver (software)"
20:42:46: D3D11: Driver Detection Ends
20:42:47: Plugin successfully installed
20:42:47: Loading library /ogre-build/bin/Debug/.\RenderSystem_GL_d
20:42:47: Installing plugin: GL RenderSystem
20:42:47: OpenGL Rendering Subsystem created.
20:42:47: Plugin successfully installed
20:42:47: Loading library /ogre-build/bin/Debug/.\RenderSystem_GL3Plus_d
20:42:47: Installing plugin: GL 3+ RenderSystem
20:42:47: OpenGL 3+ Rendering Subsystem created.
20:42:47: Plugin successfully installed
20:42:47: Loading library /ogre-build/bin/Debug/.\Plugin_ParticleFX_d
20:42:47: Installing plugin: ParticleFX
20:42:47: Particle Emitter Type 'Point' registered
20:42:47: Particle Emitter Type 'Box' registered
20:42:47: Particle Emitter Type 'Ellipsoid' registered
20:42:47: Particle Emitter Type 'Cylinder' registered
20:42:47: Particle Emitter Type 'Ring' registered
20:42:47: Particle Emitter Type 'HollowEllipsoid' registered
20:42:47: Particle Affector Type 'LinearForce' registered
20:42:47: Particle Affector Type 'ColourFader' registered
20:42:47: Particle Affector Type 'ColourFader2' registered
20:42:47: Particle Affector Type 'ColourImage' registered
20:42:47: Particle Affector Type 'ColourInterpolator' registered
20:42:47: Particle Affector Type 'Scaler' registered
20:42:47: Particle Affector Type 'Rotator' registered
20:42:47: Particle Affector Type 'DirectionRandomiser' registered
20:42:47: Particle Affector Type 'DeflectorPlane' registered
20:42:47: Plugin successfully installed
20:42:47: Loading library /ogre-build/bin/Debug/.\Plugin_BSPSceneManager_d
20:42:47: Installing plugin: BSP Scene Manager
20:42:47: Plugin successfully installed
20:42:47: Loading library /ogre-build/bin/Debug/.\Codec_STBI_d
20:42:47: stb_image - v2.19 - public domain JPEG/PNG reader
20:42:47: Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
20:42:47: Loading library /ogre-build/bin/Debug/.\Plugin_PCZSceneManager_d
20:42:47: Installing plugin: Portal Connected Zone Scene Manager
20:42:47: PCZone Factory Type 'ZoneType_Default' registered
20:42:47: Plugin successfully installed
20:42:47: Loading library /ogre-build/bin/Debug/.\Plugin_OctreeZone_d
20:42:47: Installing plugin: Octree Zone Factory
20:42:47: Plugin successfully installed
20:42:47: Loading library /ogre-build/bin/Debug/.\Plugin_OctreeSceneManager_d
20:42:47: Installing plugin: Octree Scene Manager
20:42:47: Plugin successfully installed
20:42:47: *-*-* OGRE Initialising
20:42:47: *-*-* Version 1.11.4 (Rhagorthua)
20:42:47: OverlayElementFactory for type Panel registered.
20:42:47: OverlayElementFactory for type BorderPanel registered.
20:42:47: OverlayElementFactory for type TextArea registered.
20:42:47: Registering ResourceManager for type Font
20:42:47: Ogre::FileNotFoundException::FileNotFoundException: 'Ogre\Demo\ogre.cfg' file not found! in ConfigFile::load atogre-source\OgreMain\src\OgreConfigFile.cpp (line 67)
20:42:47: Ogre::FileNotFoundException::FileNotFoundException: 'Ogre\Demo\ogre.cfg' file not found! in ConfigFile::load atogre-source\OgreMain\src\OgreConfigFile.cpp (line 67)
20:42:51: CPU Identifier & Features
20:42:51: -------------------------
20:42:51:  *   CPU ID: GenuineIntel: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
20:42:51:  *          SSE: yes
20:42:51:  *         SSE2: yes
20:42:51:  *         SSE3: yes
20:42:51:  *        SSE41: yes
20:42:51:  *        SSE42: yes
20:42:51:  *          MMX: yes
20:42:51:  *       MMXEXT: yes
20:42:51:  *        3DNOW: no
20:42:51:  *     3DNOWEXT: no
20:42:51:  *         CMOV: yes
20:42:51:  *          TSC: yes
20:42:51:  *INVARIANT TSC: yes
20:42:51:  *          FPU: yes
20:42:51:  *          PRO: yes
20:42:51:  *           HT: no
20:42:51: -------------------------
20:42:51: D3D11: Subsystem Initialising
20:42:51: D3D11: Driver Detection Starts
20:42:51: D3D11: "NVIDIA GeForce GTX 1070"
20:42:51: D3D11: "Microsoft Basic Render Driver (software)"
20:42:51: D3D11: Driver Detection Ends
20:42:51: D3D11: Requested "(default)", selected "NVIDIA GeForce GTX 1070"
20:42:51: ***************************************
20:42:51: *** D3D11: Subsystem Initialized OK ***
20:42:51: ***************************************
20:42:51: D3D11RenderSystem::_createRenderWindow "Demo", 800x600 windowed  miscParams: FSAA=1 externalWindowHandle=19007512 gamma=No vsync=Yes 
20:42:51: D3D11: Created D3D11 Rendering Window 'Demo' : 800x598, 32bpp
20:42:51: Registering ResourceManager for type Texture
20:42:51: Registering ResourceManager for type GpuProgram
20:42:51: RenderSystem capabilities
20:42:51: -------------------------
20:42:51: RenderSystem Name: Direct3D11 Rendering Subsystem
20:42:51: GPU Vendor: nvidia
20:42:51: Device Name: NVIDIA GeForce GTX 1070
20:42:51: Driver Version: 23.21.13.8813
20:42:51:  * Fixed function pipeline: no
20:42:51:  * Anisotropic texture filtering: yes
20:42:51:  * Cube mapping: yes
20:42:51:  * Hardware stencil buffer: yes
20:42:51:    - Stencil depth: 8
20:42:51:    - Two sided stencil support: yes
20:42:51:    - Wrap stencil values: yes
20:42:51:  * 32-bit index buffers: yes
20:42:51:  * Vertex programs: yes
20:42:51:  * Number of floating-point constants for vertex programs: 512
20:42:51:  * Number of integer constants for vertex programs: 16
20:42:51:  * Number of boolean constants for vertex programs: 16
20:42:51:  * Fragment programs: yes
20:42:51:  * Number of floating-point constants for fragment programs: 512
20:42:51:  * Number of integer constants for fragment programs: 16
20:42:51:  * Number of boolean constants for fragment programs: 16
20:42:51:  * Geometry programs: yes
20:42:51:  * Number of floating-point constants for geometry programs: 512
20:42:51:  * Number of integer constants for geometry programs: 16
20:42:51:  * Number of boolean constants for geometry programs: 16
20:42:51:  * Tessellation Hull programs: yes
20:42:51:  * Number of floating-point constants for tessellation hull programs: 512
20:42:51:  * Number of integer constants for tessellation hull programs: 16
20:42:51:  * Number of boolean constants for tessellation hull programs: 16
20:42:51:  * Tessellation Domain programs: yes
20:42:51:  * Number of floating-point constants for tessellation domain programs: 512
20:42:51:  * Number of integer constants for tessellation domain programs: 16
20:42:51:  * Number of boolean constants for tessellation domain programs: 16
20:42:51:  * Compute programs: yes
20:42:51:  * Number of floating-point constants for compute programs: 512
20:42:51:  * Number of integer constants for compute programs: 16
20:42:51:  * Number of boolean constants for compute programs: 16
20:42:51:  * Supported Shader Profiles: cs_4_0 cs_4_1 cs_5_0 ds_5_0 gs_4_0 gs_4_1 gs_5_0 hlsl hs_5_0 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 ps_3_x ps_4_0 ps_4_0_level_9_1 ps_4_0_level_9_3 ps_4_1 ps_5_0 vs_2_0 vs_2_a vs_2_x vs_3_0 vs_4_0 vs_4_0_level_9_1 vs_4_0_level_9_3 vs_4_1 vs_5_0
20:42:51:  * Texture Compression: yes
20:42:51:    - DXT: yes
20:42:51:    - VTC: no
20:42:51:    - PVRTC: no
20:42:51:    - ATC: no
20:42:51:    - ETC1: no
20:42:51:    - ETC2: no
20:42:51:    - BC4/BC5: no
20:42:51:    - BC6H/BC7: yes
20:42:51:    - ASTC: no
20:42:51:    - Mipmaps for compressed formats: no
20:42:51:  * Hardware Occlusion Query: yes
20:42:51:  * User clip planes: yes
20:42:51:  * VET_UBYTE4 vertex element type: yes
20:42:51:  * Infinite far plane projection: yes
20:42:51:  * Hardware render-to-texture: yes
20:42:51:  * Floating point textures: yes
20:42:51:  * Non-power-of-two textures: yes
20:42:51:  * 1d textures: yes
20:42:51:  * Volume textures: yes
20:42:51:  * Multiple Render Targets: 8
20:42:51:    - With different bit depths: yes
20:42:51:  * Point Sprites: yes
20:42:51:  * Wide Lines: no
20:42:51:  * Hardware Gamma: no
20:42:51:  * Extended point parameters: yes
20:42:51:  * Max Point Size: 256
20:42:51:  * Vertex texture fetch: yes
20:42:51:  * Number of texture units: 16
20:42:51:  * Number of vertex attributes: 32
20:42:51:  * Stencil buffer depth: 8
20:42:51:  * Number of vertex blend matrices: 0
20:42:51:    - Max vertex textures: 4
20:42:51:    - Vertex textures shared: yes
20:42:51:  * Render to Vertex Buffer : yes
20:42:51:  * Hardware Atomic Counters: no
20:42:51: DefaultWorkQueue('Root') initialising on thread 17544.
20:42:51: DefaultWorkQueue('Root')::WorkerFunc - thread 9220 starting.
20:42:51: DefaultWorkQueue('Root')::WorkerFunc - thread 10536 starting.
20:42:51: DefaultWorkQueue('Root')::WorkerFunc - thread 7636 starting.
20:42:51: DefaultWorkQueue('Root')::WorkerFunc - thread 10572 starting.
20:42:51: DefaultWorkQueue('Root')::WorkerFunc - thread 15532 starting.
20:42:51: DefaultWorkQueue('Root')::WorkerFunc - thread 16276 starting.
20:42:51: DefaultWorkQueue('Root')::WorkerFunc - thread 17720 starting.
20:42:51: DefaultWorkQueue('Root')::WorkerFunc - thread 868 starting.
20:42:51: Particle Renderer Type 'billboard' registered
20:42:51: SceneManagerFactory for type 'BspSceneManager' registered.
20:42:51: Registering SceneLoader Q3BSP
20:42:51: SceneManagerFactory for type 'PCZSceneManager' registered.
20:42:51: MovableObjectFactory for type 'PCZLight' registered.
20:42:51: MovableObjectFactory for type 'Portal' registered.
20:42:51: MovableObjectFactory for type 'AntiPortal' registered.
20:42:51: PCZone Factory Type 'ZoneType_Octree' registered
20:42:51: SceneManagerFactory for type 'OctreeSceneManager' registered.
20:42:51: Creating resource group Essential
20:42:51: Added resource location '/ogre-source/Samples/Media/thumbnails' of type 'FileSystem' to resource group 'Essential'
20:42:51: Added resource location '/ogre-source/Samples/Media/packs/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
20:42:51: Added resource location '/ogre-source/Samples/Media/packs/profiler.zip' of type 'Zip' to resource group 'Essential'
20:42:51: Added resource location '/ogre-source/Samples/Media' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/fonts' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/materials/programs' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/materials/scripts' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/materials/textures' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/materials/textures/nvidia' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/models' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/particle' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/DeferredShadingMedia/DeferredShading/post' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/PCZAppMedia' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/materials/scripts/SSAO' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/materials/textures/SSAO' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/volumeTerrain' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/PBR' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/materials/textures/glTF2_IBL' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/HLMS' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/packs/dragon.zip' of type 'Zip' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/packs/ogredance.zip' of type 'Zip' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/packs/Sinbad.zip' of type 'Zip' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/packs/skybox.zip' of type 'Zip' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/volumeTerrain/volumeTerrainBig.zip' of type 'Zip' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/packs/DamagedHelmet.zip' of type 'Zip' to resource group 'General'
20:42:51: Creating resource group Tests
20:42:51: Added resource location '/ogre-source/Tests/Media' of type 'FileSystem' to resource group 'Tests'
20:42:51: Added resource location '/ogre-source/Samples/Media/materials/programs/HLSL' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/materials/programs/HLSL_Cg' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/RTShaderLib/materials' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/RTShaderLib/HLSL' of type 'FileSystem' to resource group 'General'
20:42:51: Added resource location '/ogre-source/Samples/Media/RTShaderLib/HLSL_Cg' of type 'FileSystem' to resource group 'General'
20:42:51: Parsing scripts for resource group Essential
20:42:51: Parsing script SdkTrays.material
20:42:51: Parsing script OgreProfiler.material
20:42:51: Parsing script SdkTrays.fontdef
20:42:51: Parsing script SdkTrays.overlay
20:42:51: Texture: sdk_cursor.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
20:42:51: Texture: sdk_tray.png: Loading 1 faces(PF_A8B8G8R8,64x64x1) with 6 generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x64x1.
20:42:51: Texture: sdk_button_up.png: Loading 1 faces(PF_A8B8G8R8,128x32x1) with 7 generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x32x1.
20:42:51: Texture: sdk_text_box.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
20:42:51: Texture: sdk_mini_tray.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
20:42:51: Texture: sdk_track.png: Loading 1 faces(PF_A8B8G8R8,16x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8B8G8R8,16x32x1.
20:42:51: Texture: sdk_handle.png: Loading 1 faces(PF_A8B8G8R8,16x16x1) with 4 generated mipmaps from Image. Internal format is PF_A8B8G8R8,16x16x1.
20:42:51: Texture: sdk_mini_text_box.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
20:42:51: Texture: sdk_label.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
20:42:51: Texture: sdk_separator.png: Loading 1 faces(PF_A8B8G8R8,64x16x1) with 6 generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x16x1.
20:42:51: Texture: sdk_logo.png: Loading 1 faces(PF_A8B8G8R8,128x64x1) with 7 generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x64x1.
20:42:51: Texture: sdk_shade.png: Loading 1 faces(PF_A8B8G8R8,64x48x1) with 6 generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x48x1.
20:42:51: Texture: sdk_frame.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
20:42:51: Texture: sdk_mini_text_box_over.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
20:42:51: Texture: sdk_pulse.png: Loading 1 faces(PF_B8G8R8,8x1x1) with 3 generated mipmaps from Image. Internal format is PF_A8B8G8R8,8x1x1.
20:42:51: Finished parsing scripts for resource group Essential
20:42:51: Creating resources for group Essential
20:42:51: All done
20:42:51: Parsing scripts for resource group General
20:42:51: Parsing script DualQuaternion.program
20:42:51: Parsing script Examples.program
20:42:51: Parsing script Instancing.program
20:42:51: Parsing script StdQuad_vp.program
20:42:51: Parsing script deferred_post.program
20:42:51: Parsing script ShadowCaster.program
20:42:51: Parsing script GBuffer.program
20:42:51: Parsing script pbr.program
20:42:51: Parsing script AdaptivePNTrianglesTessellation.material
20:42:51: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader Ogre/PNTrianglesTessellation/adaptive_tessellation_hs Errors:
\aaa\ogre-build\bin\Debug\adaptive_tessellation.hlsl(148,67-71): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:51: High-level program 'Ogre/PNTrianglesTessellation/adaptive_tessellation_hs' is not supported: Cannot compile D3D11 high-level shader Ogre/PNTrianglesTessellation/adaptive_tessellation_hs Errors:
\aaa\ogre-build\bin\Debug\adaptive_tessellation.hlsl(148,67-71): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 

20:42:51: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:51: Error: ScriptCompiler - invalid parameters in AdaptivePNTrianglesTessellation.material(208): Named constants have not been initialised, perhaps a compile error.
20:42:51: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:51: Error: ScriptCompiler - invalid parameters in AdaptivePNTrianglesTessellation.material(209): setting of constant failed
20:42:51: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader Ogre/PNTrianglesTessellation/adaptivePNTriangles_tessellation_vs Errors:
\aaa\ogre-build\bin\Debug\adaptivePNTriangles_tessellation.hlsl(92,35-58): error X4577: Not all elements of SV_Position were written
\aaa\ogre-build\bin\Debug\adaptivePNTriangles_tessellation.hlsl(92,35-58): error X4576: Output signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:51: High-level program 'Ogre/PNTrianglesTessellation/adaptivePNTriangles_tessellation_vs' is not supported: Cannot compile D3D11 high-level shader Ogre/PNTrianglesTessellation/adaptivePNTriangles_tessellation_vs Errors:
\aaa\ogre-build\bin\Debug\adaptivePNTriangles_tessellation.hlsl(92,35-58): error X4577: Not all elements of SV_Position were written
\aaa\ogre-build\bin\Debug\adaptivePNTriangles_tessellation.hlsl(92,35-58): error X4576: Output signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 

20:42:51: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:51: Error: ScriptCompiler - invalid parameters in AdaptivePNTrianglesTessellation.material(258): setting of constant failed
20:42:51: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:51: Error: ScriptCompiler - invalid parameters in AdaptivePNTrianglesTessellation.material(259): setting of constant failed
20:42:51: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:51: Error: ScriptCompiler - invalid parameters in AdaptivePNTrianglesTessellation.material(260): setting of constant failed
20:42:51: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader Ogre/PNTrianglesTessellation/adaptivePNTriangles_tessellation_hs Errors:
\aaa\ogre-build\bin\Debug\adaptivePNTriangles_tessellation.hlsl(127,76-85): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:51: High-level program 'Ogre/PNTrianglesTessellation/adaptivePNTriangles_tessellation_hs' is not supported: Cannot compile D3D11 high-level shader Ogre/PNTrianglesTessellation/adaptivePNTriangles_tessellation_hs Errors:
\aaa\ogre-build\bin\Debug\adaptivePNTriangles_tessellation.hlsl(127,76-85): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 

20:42:51: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:51: Error: ScriptCompiler - invalid parameters in AdaptivePNTrianglesTessellation.material(274): Named constants have not been initialised, perhaps a compile error.
20:42:51: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:51: Error: ScriptCompiler - invalid parameters in AdaptivePNTrianglesTessellation.material(275): setting of constant failed
20:42:51: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader Ogre/PNTrianglesTessellation/adaptivePNTriangles_tessellation_ds Errors:
\aaa\ogre-build\bin\Debug\adaptivePNTriangles_tessellation.hlsl(213,152-156): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:51: High-level program 'Ogre/PNTrianglesTessellation/adaptivePNTriangles_tessellation_ds' is not supported: Cannot compile D3D11 high-level shader Ogre/PNTrianglesTessellation/adaptivePNTriangles_tessellation_ds Errors:
\aaa\ogre-build\bin\Debug\adaptivePNTriangles_tessellation.hlsl(213,152-156): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 

20:42:51: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:51: Error: ScriptCompiler - invalid parameters in AdaptivePNTrianglesTessellation.material(287): setting of constant failed
20:42:51: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:51: Error: ScriptCompiler - invalid parameters in AdaptivePNTrianglesTessellation.material(288): setting of constant failed
20:42:51: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:51: Error: ScriptCompiler - invalid parameters in AdaptivePNTrianglesTessellation.material(289): setting of constant failed
20:42:51: Parsing script ASCII.material
20:42:51: Parsing script AtomicCounters.material
20:42:51: Parsing script BlackAndWhite.material
20:42:51: Parsing script Bloom2.material
20:42:51: Invalid target for D3D11 shader 'Blur_vs11_hlsl' - 'vs_1_1'
20:42:51: Parsing script CompositorDemo.material
20:42:51: Parsing script Compute.material
20:42:51: Parsing script DamagedHelmet.material
20:42:51: Parsing script DepthShadowmap.material
20:42:51: Parsing script Dither.material
20:42:51: Parsing script DOF.material
20:42:51: Parsing script DualQuaternion.material
20:42:51: Parsing script Embossed.material
20:42:51: Parsing script Examples-Advanced.material
20:42:52: Parsing script Examples-DynTex.material
20:42:52: Parsing script Examples-Water.material
20:42:52: Parsing script Examples.material
20:42:52: Parsing script facial.material
20:42:52: Parsing script FluidSim.material
20:42:52: Parsing script Glass.material
20:42:52: Parsing script Hair.material
20:42:52: Parsing script Halftone.material
20:42:52: Parsing script hdr.material
20:42:52: Parsing script HeatVision.material
20:42:52: Parsing script Hurt.material
20:42:52: Parsing script HWInstancing.material
20:42:52: Parsing script HW_VTFInstancing.material
20:42:52: Parsing script HW_VTF_LUTInstancing.material
20:42:52: Parsing script instancing.material
20:42:52: Parsing script InstancingMisc.material
20:42:52: Parsing script Invert.material
20:42:52: Parsing script Island.material
20:42:52: Error: ScriptCompiler - number expected in Island.material(246): extra parameters required by constant definition light_position
20:42:52: Warnings while compiling D3D11 high-level shader Ogre/Island/WaterPatchDS:
\aaa\ogre-build\bin\Debug\Island.hlsl(504,25): warning X3578: Output value 'WaterPatchDS' is not completely initialized

20:42:52: Error: ScriptCompiler - number expected in Island.material(329): extra parameters required by constant definition light_position
20:42:52: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader Ogre/Island/WaterPatchPS Errors:
error X3501: 'WaterPatchPS': entrypoint not found
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:52: High-level program 'Ogre/Island/WaterPatchPS' is not supported: Cannot compile D3D11 high-level shader Ogre/Island/WaterPatchPS Errors:
error X3501: 'WaterPatchPS': entrypoint not found

20:42:52: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:52: Error: ScriptCompiler - invalid parameters in Island.material(342): setting of constant failed
20:42:52: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:52: Error: ScriptCompiler - invalid parameters in Island.material(343): setting of constant failed
20:42:52: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:52: Error: ScriptCompiler - invalid parameters in Island.material(344): setting of constant failed
20:42:52: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:52: Error: ScriptCompiler - invalid parameters in Island.material(345): setting of constant failed
20:42:52: Error: ScriptCompiler - number expected in Island.material(346): extra parameters required by constant definition light_position
20:42:52: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:52: Error: ScriptCompiler - invalid parameters in Island.material(347): Named constants have not been initialised, perhaps a compile error.
20:42:52: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:52: Error: ScriptCompiler - invalid parameters in Island.material(348): Named constants have not been initialised, perhaps a compile error.
20:42:52: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:52: Error: ScriptCompiler - invalid parameters in Island.material(349): Named constants have not been initialised, perhaps a compile error.
20:42:52: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:52: Error: ScriptCompiler - invalid parameters in Island.material(350): Named constants have not been initialised, perhaps a compile error.
20:42:52: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:52: Error: ScriptCompiler - invalid parameters in Island.material(351): Named constants have not been initialised, perhaps a compile error.
20:42:52: Parsing script IsoSurf.material
20:42:52: Parsing script Laplace.material
20:42:52: Parsing script MotionBlur.material
20:42:52: Parsing script MRTtest.material
20:42:52: Parsing script NightVision.material
20:42:52: Parsing script Ocean.material
20:42:52: Parsing script OffsetMapping.material
20:42:52: Warnings while compiling D3D11 high-level shader Examples/OffsetMappingIntegratedShadowsVPhlsl:
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(41,32-80): warning X3206: implicit truncation of vector type
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(42,33-83): warning X3206: implicit truncation of vector type
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(129,9-47): warning X3206: implicit truncation of vector type
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(130,9-47): warning X3206: implicit truncation of vector type

20:42:52: Warnings while compiling D3D11 high-level shader Examples/OffsetMappingIntegratedShadowsFPhlsl:
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(41,32-80): warning X3206: implicit truncation of vector type
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(42,33-83): warning X3206: implicit truncation of vector type
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(129,9-47): warning X3206: implicit truncation of vector type
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(130,9-47): warning X3206: implicit truncation of vector type
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(117,21): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(124,15): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(117,21): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
\aaa\ogre-build\bin\Debug\OffsetMapping.hlsl(124,15): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them

20:42:52: Parsing script Ogre.material
20:42:52: Parsing script OldMovie.material
20:42:52: Parsing script OldTV.material
20:42:52: Parsing script ParticleGS.material
20:42:52: Parsing script Penguin.material
20:42:52: Parsing script Posterize.material
20:42:52: Parsing script pssm.material
20:42:52: Parsing script RadialBlur.material
20:42:52: Parsing script RasterizationOrder.material
20:42:52: Parsing script RZR-002.material
20:42:52: Parsing script ShaderInstancing.material
20:42:53: Parsing script ShaderSystem.material
20:42:53: Parsing script shadows.material
20:42:53: Warnings while compiling D3D11 high-level shader Ogre/shadow/receiver/depth/pssm3/fphlsl:
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
shadows.hlsl(29,18-79): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
User avatar
saintnick
Halfling
Posts: 51
Joined: Tue Nov 27, 2018 1:41 am
x 5

Re: Direct3D11 runtime errors, Volume

Post by saintnick »

Part 2

Code: Select all

20:42:53: Parsing script SharpenEdges.material
20:42:53: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource SharpenEdgesFP.cg in resource group General. in ResourceGroupManager::openResource atogre-source\OgreMain\src\OgreResourceGroupManager.cpp (line 704)
20:42:53: High-level program 'Ogre/Compositor/SharpenEdgesFP_ps_2_a' is not supported: Cannot locate resource SharpenEdgesFP.cg in resource group General.
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in SharpenEdges.material(35): Named constants have not been initialised, perhaps a compile error.
20:42:53: Parsing script sibenik.material
20:42:53: Parsing script smoke.material
20:42:53: Parsing script Swizzle.material
20:42:53: Parsing script TerrainTessellation.material
20:42:53: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader Ogre/TerrainTessellation/HwTessellationPassThruVS Errors:
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(239,48-79): warning X3576: semantics in type overridden by variable/function or enclosing type
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(239,48-79): error X4577: Not all elements of SV_Position were written
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(239,48-79): error X4576: Output signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:53: High-level program 'Ogre/TerrainTessellation/HwTessellationPassThruVS' is not supported: Cannot compile D3D11 high-level shader Ogre/TerrainTessellation/HwTessellationPassThruVS Errors:
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(239,48-79): warning X3576: semantics in type overridden by variable/function or enclosing type
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(239,48-79): error X4577: Not all elements of SV_Position were written
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(239,48-79): error X4576: Output signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 

20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(97): Named constants have not been initialised, perhaps a compile error.
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(98): Named constants have not been initialised, perhaps a compile error.
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(99): Named constants have not been initialised, perhaps a compile error.
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(100): Named constants have not been initialised, perhaps a compile error.
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(101): Named constants have not been initialised, perhaps a compile error.
20:42:53: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader Ogre/TerrainTessellation/TerrainScreenspaceLODHS Errors:
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(518,74): warning X3576: semantics in type overridden by variable/function or enclosing type
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(414,97-98): warning X3576: semantics in type overridden by variable/function or enclosing type
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(400,6-17): warning X3556: integer modulus may be much slower, try using uints if possible.
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(335,2): warning X4000: use of potentially uninitialized variable (inFrustum)
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(518,74): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:53: High-level program 'Ogre/TerrainTessellation/TerrainScreenspaceLODHS' is not supported: Cannot compile D3D11 high-level shader Ogre/TerrainTessellation/TerrainScreenspaceLODHS Errors:
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(518,74): warning X3576: semantics in type overridden by variable/function or enclosing type
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(414,97-98): warning X3576: semantics in type overridden by variable/function or enclosing type
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(400,6-17): warning X3556: integer modulus may be much slower, try using uints if possible.
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(335,2): warning X4000: use of potentially uninitialized variable (inFrustum)
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(518,74): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 

20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(131): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(132): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(133): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(134): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(135): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(136): setting of constant failed
20:42:53: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader Ogre/TerrainTessellation/TerrainDisplaceDS Errors:
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(599,53-63): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:53: High-level program 'Ogre/TerrainTessellation/TerrainDisplaceDS' is not supported: Cannot compile D3D11 high-level shader Ogre/TerrainTessellation/TerrainDisplaceDS Errors:
\aaa\ogre-build\bin\Debug\TerrainTessellation.hlsl(599,53-63): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 

20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(148): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(149): Named constants have not been initialised, perhaps a compile error.
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in TerrainTessellation.material(150): Named constants have not been initialised, perhaps a compile error.
20:42:53: Parsing script Tessellation.material
20:42:53: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader Ogre/Tessellation/TessellationHullProgramHLSL Errors:
\aaa\ogre-build\bin\Debug\Tessellation.hlsl(78,54): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:53: High-level program 'Ogre/Tessellation/TessellationHullProgramHLSL' is not supported: Cannot compile D3D11 high-level shader Ogre/Tessellation/TessellationHullProgramHLSL Errors:
\aaa\ogre-build\bin\Debug\Tessellation.hlsl(78,54): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 

20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in Tessellation.material(28): Named constants have not been initialised, perhaps a compile error.
20:42:53: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader Ogre/Tessellation/TessellationDomainProgramHLSL Errors:
\aaa\ogre-build\bin\Debug\Tessellation.hlsl(97,53-56): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:53: High-level program 'Ogre/Tessellation/TessellationDomainProgramHLSL' is not supported: Cannot compile D3D11 high-level shader Ogre/Tessellation/TessellationDomainProgramHLSL Errors:
\aaa\ogre-build\bin\Debug\Tessellation.hlsl(97,53-56): error X4576: Input signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 

20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in Tessellation.material(57): setting of constant failed
20:42:53: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader Ogre/Tessellation/VertexProgramHLSL Errors:
\aaa\ogre-build\bin\Debug\Tessellation.hlsl(35,26-58): error X4577: Not all elements of SV_Position were written
\aaa\ogre-build\bin\Debug\Tessellation.hlsl(35,26-58): error X4576: Output signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:53: High-level program 'Ogre/Tessellation/VertexProgramHLSL' is not supported: Cannot compile D3D11 high-level shader Ogre/Tessellation/VertexProgramHLSL Errors:
\aaa\ogre-build\bin\Debug\Tessellation.hlsl(35,26-58): error X4577: Not all elements of SV_Position were written
\aaa\ogre-build\bin\Debug\Tessellation.hlsl(35,26-58): error X4576: Output signature parameter SV_Position (1-based Entry 0) type must be float32 and mask must be xyzw. 

20:42:53: Parsing script Tiling.material
20:42:53: Parsing script VarianceShadowmap.material
20:42:53: Parsing script VTFInstancing.material
20:42:53: Parsing script deferreddemo.material
20:42:53: Parsing script deferred_post.material
20:42:53: Parsing script deferred_post_minilight.material
20:42:53: Parsing script ShadowCaster.material
20:42:53: Parsing script ssao.material
20:42:53: Parsing script ROOM.material
20:42:53: Parsing script CreaseShading.material
20:42:53: Parsing script Crytek.material
20:42:53: Parsing script GBuffer.material
20:42:53: Parsing script HemisphereMC.material
20:42:53: Parsing script HorizonBased.material
20:42:53: Parsing script Modulate.material
20:42:53: Parsing script ShowDepth.material
20:42:53: Parsing script ShowNormals.material
20:42:53: Parsing script ShowViewPos.material
20:42:53: Parsing script SSAOPost.material
20:42:53: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader SSAO/Post/BoxFilter_fp_hlsl Errors:
\aaa\ogre-build\bin\Debug\SSAOPost.hlsl(86,2-11): error X3000: unrecognized identifier 'noFilterIn'
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:53: High-level program 'SSAO/Post/BoxFilter_fp_hlsl' is not supported: Cannot compile D3D11 high-level shader SSAO/Post/BoxFilter_fp_hlsl Errors:
\aaa\ogre-build\bin\Debug\SSAOPost.hlsl(86,2-11): error X3000: unrecognized identifier 'noFilterIn'

20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in SSAOPost.material(160): setting of constant failed
20:42:53: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader SSAO/Post/SmartBoxFilter_fp_hlsl Errors:
\aaa\ogre-build\bin\Debug\SSAOPost.hlsl(86,2-11): error X3000: unrecognized identifier 'noFilterIn'
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:53: High-level program 'SSAO/Post/SmartBoxFilter_fp_hlsl' is not supported: Cannot compile D3D11 high-level shader SSAO/Post/SmartBoxFilter_fp_hlsl Errors:
\aaa\ogre-build\bin\Debug\SSAOPost.hlsl(86,2-11): error X3000: unrecognized identifier 'noFilterIn'

20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in SSAOPost.material(184): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in SSAOPost.material(185): setting of constant failed
20:42:53: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader SSAO/HorizonBased/CrossBilateralFilter/X_fp_hlsl Errors:
\aaa\ogre-build\bin\Debug\SSAOPost.hlsl(86,2-11): error X3000: unrecognized identifier 'noFilterIn'
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:53: High-level program 'SSAO/HorizonBased/CrossBilateralFilter/X_fp_hlsl' is not supported: Cannot compile D3D11 high-level shader SSAO/HorizonBased/CrossBilateralFilter/X_fp_hlsl Errors:
\aaa\ogre-build\bin\Debug\SSAOPost.hlsl(86,2-11): error X3000: unrecognized identifier 'noFilterIn'

20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in SSAOPost.material(216): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in SSAOPost.material(217): Named constants have not been initialised, perhaps a compile error.
20:42:53: Ogre::RenderingAPIException::RenderingAPIException: Cannot compile D3D11 high-level shader SSAO/HorizonBased/CrossBilateralFilter/Y_fp_hlsl Errors:
\aaa\ogre-build\bin\Debug\SSAOPost.hlsl(86,2-11): error X3000: unrecognized identifier 'noFilterIn'
 in D3D11HLSLProgram::compileMicrocode atogre-source\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 552)
20:42:53: High-level program 'SSAO/HorizonBased/CrossBilateralFilter/Y_fp_hlsl' is not supported: Cannot compile D3D11 high-level shader SSAO/HorizonBased/CrossBilateralFilter/Y_fp_hlsl Errors:
\aaa\ogre-build\bin\Debug\SSAOPost.hlsl(86,2-11): error X3000: unrecognized identifier 'noFilterIn'

20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in SSAOPost.material(248): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in SSAOPost.material(249): Named constants have not been initialised, perhaps a compile error.
20:42:53: Parsing script UnsharpMask.material
20:42:53: Parsing script Volumetric.material
20:42:53: Parsing script triplanarReference.material
20:42:53: Parsing script glTF2_PBR.material
20:42:53: Parsing script RomanBath.material
20:42:53: Parsing script Sinbad.material
20:42:53: Parsing script DualQuaternionSkinning_Shadow.material
20:42:53: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource DualQuaternionSkinning_Shadow.hlsl in resource group General. in ResourceGroupManager::openResource atogre-source\OgreMain\src\OgreResourceGroupManager.cpp (line 704)
20:42:53: High-level program 'Ogre/RTShader/shadow_caster_dq_ps_hlsl' is not supported: Cannot locate resource DualQuaternionSkinning_Shadow.hlsl in resource group General.
20:42:53: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource DualQuaternionSkinning_Shadow.hlsl in resource group General. in ResourceGroupManager::openResource atogre-source\OgreMain\src\OgreResourceGroupManager.cpp (line 704)
20:42:53: High-level program 'Ogre/RTShader/shadow_caster_dq_skinning_2weight_twophase_vs_hlsl' is not supported: Cannot locate resource DualQuaternionSkinning_Shadow.hlsl in resource group General.
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in DualQuaternionSkinning_Shadow.material(262): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in DualQuaternionSkinning_Shadow.material(263): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in DualQuaternionSkinning_Shadow.material(264): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in DualQuaternionSkinning_Shadow.material(265): setting of constant failed
20:42:53: Parsing script HardwareSkinningShadow.material
20:42:53: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource HardwareSkinningShadow.hlsl in resource group General. in ResourceGroupManager::openResource atogre-source\OgreMain\src\OgreResourceGroupManager.cpp (line 704)
20:42:53: High-level program 'Ogre/RTShader/shadow_caster_ps_hlsl' is not supported: Cannot locate resource HardwareSkinningShadow.hlsl in resource group General.
20:42:53: Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource HardwareSkinningShadow.hlsl in resource group General. in ResourceGroupManager::openResource atogre-source\OgreMain\src\OgreResourceGroupManager.cpp (line 704)
20:42:53: High-level program 'Ogre/RTShader/shadow_caster_skinning_2weight_vs_hlsl' is not supported: Cannot locate resource HardwareSkinningShadow.hlsl in resource group General.
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in HardwareSkinningShadow.material(106): setting of constant failed
20:42:53: Ogre::InvalidParametersException::InvalidParametersException: Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition atogre-source\OgreMain\src\OgreGpuProgramParams.cpp (line 1661)
20:42:53: Error: ScriptCompiler - invalid parameters in HardwareSkinningShadow.material(107): setting of constant failed
20:42:53: Parsing script RTShaderSystem.material
20:42:53: Parsing script TriplanarTexturing.material
20:42:53: Parsing script emitted_emitter.particle
20:42:53: Texture: flare.png: Loading 1 faces(PF_B8G8R8,256x256x1) with 8 generated mipmaps from Image. Internal format is PF_A8B8G8R8,256x256x1.
20:42:53: Parsing script Examples-Water.particle
20:42:53: Texture: basic_droplet.png: Loading 1 faces(PF_B8G8R8,64x64x1) with 6 generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x64x1.
20:42:53: Parsing script Examples.particle
20:42:53: Texture: flaretrail.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 7 generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
20:42:53: Texture: aureola.png: Loading 1 faces(PF_BYTE_LA,256x256x1) with 8 generated mipmaps from Image. Internal format is PF_A8B8G8R8,256x256x1.
20:42:53: Parsing script smoke.particle
20:42:53: Texture: smoke.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with 8 generated mipmaps from Image. Internal format is PF_A8B8G8R8,256x256x1.
20:42:53: Parsing script Examples.compositor
20:42:53: Parsing script deferred.compositor
20:42:53: Parsing script ssao.compositor
20:42:53: Parsing script SSAO.compositor
20:42:53: Parsing script SSAOPost.compositor
20:42:53: Finished parsing scripts for resource group General
20:42:53: Creating resources for group General
20:42:53: All done
20:42:53: Parsing scripts for resource group OgreAutodetect
20:42:53: Finished parsing scripts for resource group OgreAutodetect
20:42:53: Creating resources for group OgreAutodetect
20:42:53: All done
20:42:53: Parsing scripts for resource group OgreInternal
20:42:53: Finished parsing scripts for resource group OgreInternal
20:42:53: Creating resources for group OgreInternal
20:42:53: All done
20:42:53: Parsing scripts for resource group Tests
20:42:53: Parsing script glow.material
20:42:53: Finished parsing scripts for resource group Tests
20:42:53: Creating resources for group Tests
20:42:53: All done
20:42:53: Added resource location 'resource' of type 'FileSystem' to resource group 'General'
20:42:53: Creating resource group Game
20:42:53: Added resource location 'assets.zip' of type 'Zip' to resource group 'Game'
20:42:53: Parsing scripts for resource group Game
20:42:53: Parsing script material
20:42:53: Finished parsing scripts for resource group Game
20:42:53: Creating resources for group Game
20:42:53: All done
20:42:54: Ogre::RenderingAPIException::RenderingAPIException: Error creating texture
Error Description:invalid parameters were passed.
ID3D11Device::CreateTexture3D: A D3D11_USAGE_DYNAMIC Resource cannot be bound to certain parts of the graphics pipeline, but must have at least one BindFlags bit set. The following BindFlags bits (0x28) cannot be set in this case: D3D11_BIND_STREAM_OUTPUT (0), D3D11_BIND_RENDER_TARGET (1), D3D11_BIND_DEPTH_STENCIL (0), D3D11_BIND_UNORDERED_ACCESS (0).
ID3D11Device::CreateTexture3D: Returning E_INVALIDARG, meaning invalid parameters were passed.
 in D3D11Texture::_create3DTex atogre-source\RenderSystems\Direct3D11\src\OgreD3D11Texture.cpp (line 431)
User avatar
saintnick
Halfling
Posts: 51
Joined: Tue Nov 27, 2018 1:41 am
x 5

Re: Direct3D11 runtime errors, Volume

Post by saintnick »

Also I should note that in OpenGL 3+ the terrain is solid grey.

In OpenGL the terrain is a different shades of grey.
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Direct3D11 runtime errors, Volume

Post by paroj »

I could reproduce the error with DX11. However GL3+ just works fine. Maybe you need to update your drivers?

As for DX11 likely this is the commit that broke it:
https://github.com/OGRECave/ogre/commit ... 04c1c152a8

please verify by reverting to d9f588d
User avatar
saintnick
Halfling
Posts: 51
Joined: Tue Nov 27, 2018 1:41 am
x 5

Re: Direct3D11 runtime errors, Volume

Post by saintnick »

I am new to source control. I am guessing I click d9f588d->browse files->clone ogre source. Then compile again after generating project files with cmake. Is there an easier way to do this with source control?

Thanks for all your help paroj!
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Direct3D11 runtime errors, Volume

Post by paroj »

nope.. after you clone ogre, you open a terminal in that folder and excute

Code: Select all

git checkout d9f588d
to go back to that revision. (consult a git manual when in doubt)
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Direct3D11 runtime errors, Volume

Post by paroj »

also this is now fixed in master: https://github.com/OGRECave/ogre/pull/984
User avatar
saintnick
Halfling
Posts: 51
Joined: Tue Nov 27, 2018 1:41 am
x 5

Re: Direct3D11 runtime errors, Volume

Post by saintnick »

I just upgraded to new master version and terrain creation doesn't crash with Direct3D11 RS anymore. Thanks!

I ran into some new issues however. Before I was adding a zip folder like this.

Code: Select all

	ResourceGroupManager::getSingleton().addResourceLocation(
		"assets.zip", "Zip", "Game");
After the upgrade I have to add the full path to assets.zip. Before it was just in the same directory as my executable.

My second issue is that I still don't see textures on the terrain. I suspect this is an error with my material script or cfg file.

Code: Select all

material triplanarReference
{
    technique
    {
        pass
        {
            ambient 0.41 0.41 0.41
            diffuse 1.0 1.0 1.0
            rtshader_system
            {
                lighting_stage ffp
                // Texturescale, Plateau-size (0 to 0.57, not bigger to avoid division by zero!), transition-speed
                // Texture from x, from y, from z
                triplanarTexturing 0.1 0.2 2.0 dirt_grayrocky_diffusespecular.dds grass_green-01_diffusespecular.dds growth_weirdfungus-03_diffusespecular.dds
            }
        }
    }
}

Code: Select all

# World data
source = volumeTerrainBig.dds
# World size of the data
sourceDimensions = 384 384 384
# World scale
scale = 10.0
# Whether to use trilinear interpolation for the source or not
trilinearValue = true
# Whether to use trilinear interpolation for the gradients of the source or not
trilinearGradient = false
# Whether to use sobel filtering for the gradients of the source or not
sobelGradient = false
# Whether to load the terrain asynchronously
async = false

# Spatial part to scan and build the volume meshes from
scanFrom = 0 0 0
scanTo = 384 384 384

# Amount of LOD level
level = 5
# The first LOD level to create geometry for. For scenarios where the lower levels won't be visible anyway. 0 is the default and switches this off.
createGeometryFromLevel = 3
# The geometric error of LOD level with the highest detail * errorMultiplicator
baseError = 1.8
# The multiplicator between LOD levels. errorOfCurrentLevel = baseError * levelIndex * errorMultiplicator
errorMultiplicator = 0.9
# The maximum accepted screen space error when chosing the LOD levels to render
maxScreenSpaceError = 20

# Whether or not to create the visualization of the octrees
createOctreeVisualization = false
# Whether or not to create the visualization of the dual grids
createDualGridVisualization = false
# The factor defining the length of the skirts. Less means more triangles and less loading time, but if too small, cracks can occure.
skirtFactor = 1.0

# The material of the chunks
material = triplanarReference

# The material for the lowest 3 levels of the chunktree. This is set after the global material above.
materialOfLevel0 = triplanarReference
materialOfLevel1 = triplanarReference
materialOfLevel2 = triplanarReference

And here is the code I use to create the terrain.

Code: Select all

	Ogre::Volume::Chunk *volumeRoot = OGRE_NEW Ogre::Volume::Chunk();
	SceneNode* volumeRootNode = mScnMgr->getRootSceneNode()->createChildSceneNode("VolumeParent");
	volumeRoot->load(volumeRootNode, mScnMgr, "volumeTerrain.cfg");
User avatar
saintnick
Halfling
Posts: 51
Joined: Tue Nov 27, 2018 1:41 am
x 5

Re: Direct3D11 runtime errors, Volume

Post by saintnick »

All I did this morning was test if Direct3D11 worked and it did. I am running into a bug now that I have tested my application.

A plane I have been testing Ogre with is no longer textured. This happens with all render systems. I have not changed how I create the plane or the material file.

Code: Select all

material Rockwall
{
	technique
	{
		pass
		{
			texture_unit
			{
				texture rockwall.tga
			}
		}
	}
}

Code: Select all

	try
	{
		MeshManager::getSingleton().createPlane(
			"floor",
			ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME,
			plane,
			450.0, 450.0,
			10, 10, true, 1,
			50.0, 50.0,
			Vector3::UNIT_Z);
		Entity* planeEntity = mScnMgr->createEntity("floor");
		planeEntity->setMaterialName("Rockwall");
		planeEntity->setCastShadows(false);
		mScnMgr->getRootSceneNode()->createChildSceneNode()->attachObject(planeEntity);
		planeEntity->setQueryFlags(SCENE);
	}


Nothing related to this in the log. However I did find something weird.

Code: Select all

17:27:40: Error: ScriptCompiler - unexpected token in Demo.material(79): token "texture_unit" is not recognized
This part of the script applies a texture to a model created in Blender. The model is fully textured at run time.

EDIT:
I was zoomed far away and mistook the lighting for the yellow texture not found. My plane is textured.
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Direct3D11 runtime errors, Volume

Post by paroj »

I cannot reproduce your issues using the "Volume Terrain" sample form latest master: https://bintray.com/ogrecave/ogre/downl ... 15-x64.zip
User avatar
saintnick
Halfling
Posts: 51
Joined: Tue Nov 27, 2018 1:41 am
x 5

Re: Direct3D11 runtime errors, Volume

Post by saintnick »

After looking over the sample I found I forgot to set the material scheme for the view port. My terrain is now textured.

Using the code from intersecting a ray with a volume: http://wiki.ogre3d.org/VolumeFeatures

edit:

Code: Select all

		bool intersects = mVolumeRoot->getChunkParameters()->src->getFirstRayIntersection(camRay, intersection, scale);
This code crashes my program. Points to OgreVolumeSource.cpp line 136.

edit2:
Actually points to line 137 of OgreVolumeSource.cpp.

Code: Select all

        Vector3 cur = start;
From Visual Studio

Code: Select all

Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.  This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
edit3:
Sometimes it points to line 136 and sometimes it points to 137.
User avatar
saintnick
Halfling
Posts: 51
Joined: Tue Nov 27, 2018 1:41 am
x 5

Re: Direct3D11 runtime errors, Volume

Post by saintnick »

After looking at the volume terrain sample and my project for differences in creation of the volume I found this line.

Code: Select all

mVolumeRoot->load(mVolumeRootNode, scnMgr, "volumeTerrain1.cfg", true);
Setting validSourceResult to true in my loading got rid of my run time error.
Post Reply