0

I cant seem to get any HLSL shader model above 6.6 working in VS22 even though Nvidia tells me that the GPU (RTX 3090) supports shader model 6.8. With SM 6.8 MS recommended windows be placed into dev mode in the past with an earlier preview of the Agilty SDK. I'm just trying to get to 6.7 right now & I don't want to soften my security posture in dev mode. what's strange is that DXCAPS also says SM 6.6 so either the technical rep at NV has false information or something else is happening.

I've tried both game ready and studio drivers. I've reinstalled VS22. I have reinstalled GDK public. I have the latest Agilty/DXC/Drivers.

1
  • Please provide enough code so others can better understand or reproduce the problem. Commented Feb 5 at 9:02

1 Answer 1

0

The problem here is likely that you are using the Windows SDK copy of the DXC HLSL complier and using one that lacks support for SM 6.7. The Window SDK (26100) release has a copy of DXC that supports Shader Model 6.7, but all earlier versions of the Windows SDK did not.

You can also use the Microsoft.Direct3D.DXC NuGet package or the directx-dxc VCPKG port to get the latest DXC into your project, or download it from GitHub.

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you, however I have installed the latest DXC NuGET package and I still have the issue. when I query work graphs (SM 6.8) specifically I get "supported" however when I query shader model 6.7-6.8 I get the highest shader model supported is 6.6. this also goes for shader model 6.7 line items when individually queried. the main problem is that when I set my shaders to 6.7 in properties they do not compile.
Rookie mistake on my part I guess. "DECL spec export" resolved it up to SM 6_8. I foolishly believed NUGET would enable the proper Agility SDK as a package manager being that the calls to the individual feature E.g: GPU work graphs...weren't failing but HLSL SM 6.8 would fail previously. Thank you! devblogs.microsoft.com/directx/gettingstarted-dx12agility/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.