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.
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.
Share Improve this question asked Feb 5 at 3:13 MeshingAround MeshingAround 1 1- Please provide enough code so others can better understand or reproduce the problem. – Community Bot Commented Feb 5 at 9:02
1 Answer
Reset to default 0The 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.