MeshingAround
MeshingAround

Reputation: 1

VS22 debug output fail on above HLSL shader model 6.6 ERROR: Shader Model 6.7 is not supported! (RTX 3090)

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.

Upvotes: 0

Views: 42

Answers (1)

Chuck Walbourn
Chuck Walbourn

Reputation: 41127

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.

Upvotes: 0

Related Questions