diff options
| author | Yong He <yonghe@outlook.com> | 2021-10-29 09:36:07 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-29 09:36:07 -0700 |
| commit | 4ebbf357e18de77af4fff8a112e8a25b06e3e940 (patch) | |
| tree | ddd7acf91dfcf2fbc475410a6a8922f15fa1dbee /tools/gfx/d3d/d3d-util.h | |
| parent | d406e72f9a79018155f0442bb74cccaf61c13eb0 (diff) | |
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 <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/d3d/d3d-util.h')
| -rw-r--r-- | tools/gfx/d3d/d3d-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
