From 4ebbf357e18de77af4fff8a112e8a25b06e3e940 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 29 Oct 2021 09:36:07 -0700 Subject: Use detected shader model in gfx/d3d12. (#1996) * Use detected shader model in gfx/d3d12. * Enable all d3d12 tests on Github. * Improve d3d12 software device detection. * Disable d3d12 tests on github for now. Co-authored-by: Yong He --- tools/gfx/d3d/d3d-util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/gfx/d3d/d3d-util.h') diff --git a/tools/gfx/d3d/d3d-util.h b/tools/gfx/d3d/d3d-util.h index e570c6ff6..4bca89612 100644 --- a/tools/gfx/d3d/d3d-util.h +++ b/tools/gfx/d3d/d3d-util.h @@ -94,6 +94,8 @@ class D3DUtil static bool isUAVBinding(slang::BindingType bindingType); + static int getShaderModelFromProfileName(const char* profile); + }; #if SLANG_GFX_HAS_DXR_SUPPORT -- cgit v1.2.3