Search Unity

Question Kernels are not found in some compute shaders on Directx 12

Discussion in 'Shaders' started by Micz84, Dec 22, 2022.

  1. Micz84

    Micz84

    Joined:
    Jul 21, 2012
    Posts:
    451
    I have an issue with compute shaders in DirectX 12. In some of them, kernels are not found.
    When I click on show compiled code I get:

    Code (csharp):
    1.  
    2. **** Platform Direct3D 12:
    3.   no variants for this platform (no compute support, or no kernels)
    4.  
    There are no shader errors in the inspector. Not even a warning. With DirectX 11 everything is OK.
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,028
    Hi!
    Please report a bug :)
    Thank you!