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
459 B28 linesraw
1// cuda-pipeline-state.h
2#pragma once
3#include "cuda-base.h"
4#include "cuda-shader-program.h"
5
6namespace gfx
7{
8#ifdef GFX_ENABLE_CUDA
9using namespace Slang;
10
11namespace cuda
12{
13
14class PipelineStateImpl : public PipelineStateBase
15{
16public:
17};
18
19class ComputePipelineStateImpl : public PipelineStateImpl
20{
21public:
22    RefPtr<ShaderProgramImpl> shaderProgram;
23    void init(const ComputePipelineStateDesc& inDesc);
24};
25
26} // namespace cuda
27#endif
28} // namespace gfx