Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question DXR compiler status?

Discussion in 'Graphics Dev Blitz Day 2023 - Q&A' started by TJHeuvel-net, May 24, 2023.

  1. TJHeuvel-net

    TJHeuvel-net

    Joined:
    Jul 31, 2012
    Posts:
    838
    Whats the current status on the DXR shader compiler? Will this become the standard compiler anytime soon?

    I do hope so, considering we spend a lot of our (build) time compiling shader variants.
     
  2. dnach

    dnach

    Unity Technologies

    Joined:
    Mar 9, 2022
    Posts:
    91
    Hey TJ!

    We are indeed working on improving support for the DXC shader compiler, with the aim of promoting it as the default shader compiler in the future, and hope to share more useful information soon :)

    You can already give DXC a try by declaring the "use_dxc" pragma in your shaders, according to the instructions and limitations outlined in this document. Please let us know if you have any specific feedback or requests, preferably by submitting these to our public roadmap ticket for DXC and Shader Model 6 support:
    https://portal.productboard.com/8ufdwj59ehtmsvxenjumxo82/c/1829-dxc-shader-compilation-and-shader-model-6-support?utm_medium=social&utm_source=portal_share