Comments (3)
@s-perron - this flag doesn't seem to have ever been supported in DXC. Maybe this was in some other fork that was distributed to users?
from directxshadercompiler.
I am unfamiliar with that option. I've looked for it in our internal documentation, and could not find any reference to it.
The only feature I believe I could map it to is the depth operand in OpTypeImage
. If the value of that operand is 0 or 1, then it given an indication of whether or not that operand is used a a depth image; however that seem to be just be a hint because it is ignored in Vulkan. If a value of 2
is used, then there is no indication.
The DXC compiler always generates 2 anyway. I don't know if that was always the case. It is possible that this flag was added to "disable" the hint and cause the compiler to always output 2. That is the only behaviour now.
I would recommend removing the option from your build scripts, and look into any problem that may come up. If you find a problem with the compiler please report a new issue.
from directxshadercompiler.
Apologies, looks like O3DE uses a fork of DXC where they added that option to work around a mobile driver bug, instead of pushing it upstream...
from directxshadercompiler.
Related Issues (20)
- [Feature Request] Support bypassing/preview hash value in Hash Verification HOT 2
- [SPIR-V] Assert reached when splatting a vector to a scalar inout param
- Implicit cast from float1 to inout float3 hits an assert for DXIL HOT 1
- [SPIR-V] Assertion failed when assigning non-bool type variable to bool type variable with ternary operator HOT 2
- Ternary on a non-scalar loaded from a constant buffer HOT 1
- [SPIR-V] Inconsistent binaries being produced with raytracing and cross platform HOT 9
- [Feature Request] Open source the implementation of dxil.dll.
- Incomplete WaveMatrix code is left in main branch
- missing textual information (comments section) about WaveSize range syntax / kDxilRangedWaveSizeTag in SM6.8 shaders
- Allow string table in the PSV0 part to have a different order than DXC during validation HOT 1
- DxilFixConstArrayInitializer can index OOB when const array init stores use negative index
- Warning for mix packoffset for static variable.
- assert in Reassociate::OptimizeAdd fires when it shouldn't due to miscounted multiplicative factors
- [SPIR-V] Teach DXC about component decorations
- assert with out-of-line template member function definition HOT 2
- Got warning when use implicit launch type.
- [SPIR-V] Combining "-fvk-allow-rwstructuredbuffer-arrays" with intrinsics results in invalid SPIRV. HOT 2
- Clarification on WaveActiveBit{And,Or,Xor} for signed integer types HOT 2
- `asuint` doesn't accept signed integer vector literals HOT 3
- [SPIR-V] Specifying max number of loops for unroll attribute is ignored HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from directxshadercompiler.