diff options
| author | Mukund Keshava <mkeshava@nvidia.com> | 2025-06-10 10:18:24 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-10 04:48:24 +0000 |
| commit | d70da65a90ccd73439895a43b3958c0ea1441f35 (patch) | |
| tree | e6f0c1cd8413e3e213a29bf233b5fc3a3fdf2eaf /source/slang/slang-emit-c-like.cpp | |
| parent | ab6b5f28d332f201fd96b7e05070116684d02899 (diff) | |
Add optix support for coopvec (#7286)
* WiP: Add coopvec support for Optix
* format code
* fix minor issues
* Fix review comments
---------
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'source/slang/slang-emit-c-like.cpp')
| -rw-r--r-- | source/slang/slang-emit-c-like.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-emit-c-like.cpp b/source/slang/slang-emit-c-like.cpp index 0092d159a..3fbf47bfa 100644 --- a/source/slang/slang-emit-c-like.cpp +++ b/source/slang/slang-emit-c-like.cpp @@ -112,6 +112,7 @@ CLikeSourceEmitter::CLikeSourceEmitter(const Desc& desc) auto targetCaps = getTargetReq()->getTargetCaps(); isCoopvecPoc = targetCaps.implies(CapabilityAtom::hlsl_coopvec_poc); + isOptixCoopVec = targetCaps.implies(CapabilityAtom::optix_coopvec); } SlangResult CLikeSourceEmitter::init() |
