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?
605 views Asked by Mr. Boy At
1
There are 1 answers
Related Questions in DIRECT3D
- Decal renderer does not discard pixels properly
- How do I dynamically change vertex colors using Direct3d 12 and Visual C++?
- Missing HLSL Debug Symbols with D3Dcompile in Visual Studio
- Unable to Display Cube in Direct3D Application
- d3d11 triangle rendering failure despite everything being properly initialized
- Anyone else notcing delays of shared d3dtexture2D betweeen two processes?
- Ternary operator with SamplerStates
- E_INVALIDARG when I encode the NV12 texture?
- How COM warning works? how does the device get initialized?
- imageStore causing crash in GL ES 3.1 Compute shader using ANGLE on windows
- How to use DirectX3D render gtk window on window platform?
- How to implement late latching in DirectX 12?
- Can I append vertexes to a default buffer using UpdateSubresources?
- Strange behaviour in google earth
- Why is D3D12GetDebugInterface failing with "no such interface supported" using Rust's windows-rs crate?
Related Questions in HLSL
- Decal renderer does not discard pixels properly
- gl_DrawID equivalent for Directx12 ExecuteIndirect HLSL
- Missing HLSL Debug Symbols with D3Dcompile in Visual Studio
- C++ DirectX compress 3D texture into 2D texture
- How do I change the way my brace completion is handled in Visual Studio 2022 for Unity when coding in HLSL?
- How to get screen UVs in the vert stage of a unity shader?
- Delphi FMX: How to write a custom shader filter?
- Ternary operator with SamplerStates
- Implementing the Phong reflection model in a compute shader - unexpected response to change of spectral and diffuse coefficients
- How can I safely alter a texture from multiple threads? (seems like there is no `InterlockedAdd`)
- Compute Shader call breaks following Blit call in build, but not in editor
- Point light shadows work wrong, how can I debug it?
- Simultaneous access to the same pixel in a ray generation shader - is it safe?
- D3D12: Can we really not have a 1-dimensional buffer/texture of size > 25000?
- How can I fix the normals in this instanced lighting example? (Monogame/XNA)
Related Questions in SHADER
- How to use bitwise operators in GLSL
- Three.js how to determine if backfacing in a RawShaderMaterial that's double sided and transparent?
- UNITY_VERTEX_INPUT_INSTANCE_ID use in custom shader
- How to draw a WebGLTexture into another Canvas?
- How can I improve my brush on mobile with Unity slow touch interpretation problem?
- FrameBuffer texture reading black for each pixel WebGL
- Single WebGL 2.0 shader for multiple texture precisions
- How you can make a 3D mask in the UI so that it is displayed correctly. Unity
- Could I use multiple materials in Skybox?
- C++ DirectX compress 3D texture into 2D texture
- Enabling transparency on objects rendered to render texture makes them disappear completely on iOS - React Three Fiber
- i have a glslf file how do i convert that to rgb (primitive lua knowledge)
- Why unity do not include my shader to build but log them?
- Compiling vertex shader from vulkan tutorial with glslc gives error: linking multiple files in not supported yet
- Three.js using EffectComposer renderTarget texture is causing flickering / strobing
Related Questions in OGRE
- Why are just some Ogre3D dependencies building for Release when the rest builds for Debug?
- Trays library button not catching mouse events in ogre 14.1
- Ogre3D texture being rendered in black color on OpenGL ES 2 (both iOS and Android)
- Why does mbufferid sometimes equal 0 in OgreGLES2HardwareBuffer::createBuffer and how to fix it?
- Why I Can't Change The Window Size
- Problem compiling a simple CMake Ogre v2.3 project: "Build files cannot be regenerated correctly."
- Error on finding OGRE 1.12.4 on Ubuntu with CMake
- Qt + Ogre3D. I cannot build a very simple example
- Array behaving as a variable
- How to get a windowless application in Ogre using ApplicationContextBase
- Making a multiple versions of a Object
- CMake: OGREConfig.cmake
- rotate a Ogre Manual Object between two Ogre vectors
- How can directory avoid cloning in Git?
- In C++ Ogre or OpenGL, how to do rendering once and get multiple images with objects at different pose?
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?
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)
Start with a low shader version and work your way up until it compiles. Its not elegant but it works.