yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
ce6e946f6
master
1// cuda-pipeline-state.cpp 2#include "cuda-pipeline-state.h" 3 4namespace gfx 5{ 6#ifdef GFX_ENABLE_CUDA 7using namespace Slang ; 8 9namespace cuda 10{ 11 12void ComputePipelineStateImpl ::init (const ComputePipelineStateDesc & inDesc ) 13{ 14PipelineStateDesc pipelineDesc ; 15pipelineDesc .type = PipelineType ::Compute ; 16pipelineDesc .compute = inDesc ; 17initializeBase (pipelineDesc ); 18} 19 20}// namespace cuda 21#endif 22}// namespace gfx