summaryrefslogtreecommitdiff
path: root/slang-gfx.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-10-12 14:43:48 -0700
committerGitHub <noreply@github.com>2022-10-12 14:43:48 -0700
commitd96250bcc2e8fedb485df3ed0fdc28f89f6d23c8 (patch)
treebae58b1292ef417f01ecbcf8bc74360f4a66a264 /slang-gfx.h
parent12e7d70655bdf7c796ab86bff7af636d198aa222 (diff)
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 <yhe@nvidia.com>
Diffstat (limited to 'slang-gfx.h')
-rw-r--r--slang-gfx.h1
1 files changed, 1 insertions, 0 deletions
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;
};
}