diff options
Diffstat (limited to 'source/slang/slang.cpp')
| -rw-r--r-- | source/slang/slang.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index 1729508f7..f67123cc6 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -246,15 +246,10 @@ Profile getEffectiveProfile(EntryPointRequest* entryPoint, TargetRequest* target case Stage::AnyHit: case Stage::Miss: case Stage::Callable: - stageMinVersion = ProfileVersion::DX_6_3; - - // When compiling for DXR, we don't actually have distinct - // profiles for all of the DXR stages (e.g., there is no - // `raygeneration_6_3` profile), so we will clear out - // the stage part of the effective profile to avoid - // using a stage that isn't allowed downstream. + // The DirectX ray tracing stages implicitly + // require Shader Model 6.3 or later. // - effectiveProfile.setStage(Stage::Unknown); + stageMinVersion = ProfileVersion::DX_6_3; break; // TODO: Add equivalent logic for geometry, tessellation, and compute stages. |
