From d96250bcc2e8fedb485df3ed0fdc28f89f6d23c8 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 12 Oct 2022 14:43:48 -0700 Subject: Allow setting shader model upon d3d device creation. (#2442) * Allow setting shader model upon d3d device creation. * Add sm_6_7 profile. * More fixes and cleanups. Co-authored-by: Yong He --- slang-gfx.h | 1 + 1 file changed, 1 insertion(+) (limited to 'slang-gfx.h') diff --git a/slang-gfx.h b/slang-gfx.h index 18395e3f2..b4ab50517 100644 --- a/slang-gfx.h +++ b/slang-gfx.h @@ -2562,6 +2562,7 @@ struct D3D12DeviceExtendedDesc StructType structType = StructType::D3D12DeviceExtendedDesc; const char* rootParameterShaderAttributeName = nullptr; bool debugBreakOnD3D12Error = false; + uint32_t highestShaderModel = 0; }; } -- cgit v1.2.3