yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

lucy96chenSplit render-cuda.cpp into smaller files (#2334)ce6e946f6

master
289 B20 linesraw
1// cuda-shader-program.cpp
2#include "cuda-shader-program.h"
3
4namespace gfx
5{
6#ifdef GFX_ENABLE_CUDA
7using namespace Slang;
8
9namespace cuda
10{
11
12ShaderProgramImpl::~ShaderProgramImpl()
13{
14    if (cudaModule)
15        cuModuleUnload(cudaModule);
16}
17
18} // namespace cuda
19#endif
20} // namespace gfx