yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
f65d756bf
master
1// cuda-base.h 2// Shared header file for CUDA implementation 3#pragma once 4 5#ifdef GFX_ENABLE_CUDA 6#include "../command-encoder-com-forward.h" 7#include "../command-writer.h" 8#include "../mutable-shader-object.h" 9#include "../renderer-shared.h" 10#include "../simple-transient-resource-heap.h" 11#include "../slang-context.h" 12#include "core/slang-basic.h" 13#include "core/slang-blob.h" 14#include "core/slang-std-writers.h" 15#include "slang-com-helper.h" 16#include "slang-com-ptr.h" 17#include "slang.h" 18 19#include <cuda.h> 20 21#ifdef RENDER_TEST_OPTIX 22 23// The `optix_stubs.h` header produces warnings when compiled with MSVC 24#ifdef _MSC_VER 25#pragma warning(disable : 4996) 26#endif 27 28#include <optix.h> 29#include <optix_function_table_definition.h> 30#include <optix_stubs.h> 31#endif 32 33#endif 34 35namespace gfx 36{ 37namespace cuda 38{ 39class CUDAContext ; 40class BufferResourceImpl ; 41class TextureResourceImpl ; 42class ResourceViewImpl ; 43class ShaderObjectLayoutImpl ; 44class RootShaderObjectLayoutImpl ; 45class ShaderObjectImpl ; 46class MutableShaderObjectImpl ; 47class EntryPointShaderObjectImpl ; 48class RootShaderObjectImpl ; 49class ShaderProgramImpl ; 50class PipelineStateImpl ; 51class QueryPoolImpl ; 52class DeviceImpl ; 53class CommandBufferImpl ; 54class ResourceCommandEncoderImpl ; 55class ComputeCommandEncoderImpl ; 56class CommandQueueImpl ; 57}// namespace cuda 58}// namespace gfx