Code Monkey home page Code Monkey logo

Comments (3)

damyanp avatar damyanp commented on August 16, 2024

@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.

s-perron avatar s-perron commented on August 16, 2024

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.

maj-tom avatar maj-tom commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.