In Ogre, when loading HLSL shaders you specify a target PS/VS e.g SM2.0, SM 3.0. Are there tools for HLSL (and I guess other shader languages) which will tell me what shader-model versions a given HLSL function/file is valid as? For instance we wrote shaders for SM3.0 by default but for all I know they are valid as SM2.0.
How can I tell if HLSL shader code is valid for a given shader version?
604 Views Asked by Mr. Boy At
1
There are 1 best solutions below
Related Questions in DIRECT3D
- D3D11 Post Shader Results in Dark Image
- Is there a way to call SetPrivateData on a ID3DUserDefinedAnnotation?
- Tesla k20m interoperability with Direct3D 11
- C# direct3d draw sprite eats up money and throws exception
- Visual Studio Pro 2013 - unable to find XAML Direct3D WP tempate
- DirectX 11 Grid Not getting Drawn Properly
- Calculating 3D camera position based on a 2D camera
- HLSL mul and D3DXMATRIX order mismatch
- DirectX CreateBuffer Memory Leaks
- Supported Texture Formats in Direct3D9
- What knowledge do I need to posses to learn DirectX
- Direct3D9: after enabling mipmaps my texture coordinates seem to be wrong
- How does D3D9's Presentation Interval work?
- Direct3D 9 Backbuffer sampling
- What are the default transformation matrices set by ID3DXSprite::Begin?
Related Questions in HLSL
- Draw a sphere on a billboard with world normal from a pointlist
- D3D11 Post Shader Results in Dark Image
- Constant buffer is empty when passed HLSL C++
- How to use a huge array in HLSL (error X4505)
- Rendering a circle with a Vertex shader in DirectX
- Normals are not transfered to DirectX 11 shader correctly - random, time-dependent values?
- Doing 64bit addition with 2 high 32bit integers and 2 low 32bit integers. Are there more efficient ways of getting the carry bit?
- DirectX shader linking error
- Does #pragma exclude_renderers increase performance?
- HLSL mul and D3DXMATRIX order mismatch
- Force field shader unwrap texture not working
- HLSL - organizing shaders and techniques and not getting lost
- DirectX 11: Z-Fighting
- HLSL TextureSampler Color returning white
- using Kinect Depth View to show an Object inside the Human Body
Related Questions in SHADER
- Water rendering in opengl
- Draw a sphere on a billboard with world normal from a pointlist
- DirectX - Pixel Shader 3.0 doesn't work
- Should Meshes with and without Skeleton use different Shaders?
- unity custom shader not receiving Shadow
- Constant buffer is empty when passed HLSL C++
- Unity | 'gameobject.renderer.material.color' in version 5.x
- Shader programming with ShaderLab and CG in unity
- How to use a huge array in HLSL (error X4505)
- mat4 type in attribute shader
- Reading a shader from a .txt file using a structure
- Rendering a circle with a Vertex shader in DirectX
- Blur the camera at a particular point Unity2D
- Render multiple models in OpenGL with a single draw call
- Why passing parameter is OK between Vertex and Fragment shader
Related Questions in OGRE
- Libhand library compilation error on Ubuntu 12.04
- In Ogre3D, how to export texture pixel value to physical memory
- C++ Ogre Runtime error 'Assertion failed'
- C++ OGRE3D VS2013: Error LNK2038: mismatch detected for '_MSC_VER': value '1700' doesn't match value '1800'
- Could not locate OIS using CMake and Makefiles
- Frame Listerner in QMLOgre advancingu
- Frame Listener in QMLOgre Lib Freeze Window
- Ogre difference between quaternion
- Mesh overlapping moving 3D characters
- Cmake Add new project to solution
- How can I tell if HLSL shader code is valid for a given shader version?
- Embedding Ogre into a qt application on windows platform
- How to fix Ogre3d segfault with std::_Rb_tree_insert_and_rebalance?
- Launching other applications from within Ogre
- Player Bullets going the wrong way and Enemy bullets not firing
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Start with a low shader version and work your way up until it compiles. Its not elegant but it works.