Specification
C Version:
WisRootSignatureView root_signature;
WisShaderView compute_shader;
WisPipelineCacheView cache;
C Implementation Specific Version:
typedef struct WisVKComputePipelineDesc {
WisVKRootSignatureView root_signature;
WisVKShaderView compute_shader;
WisVKPipelineCacheView cache;
} WisVKComputePipelineDesc;
typedef struct WisDX12ComputePipelineDesc {
WisDX12RootSignatureView root_signature;
WisDX12ShaderView compute_shader;
WisDX12PipelineCacheView cache;
} WisDX12ComputePipelineDesc;
C++ Version:
namespace wis{
struct ComputePipelineDesc {
wis::RootSignatureView root_signature;
wis::ShaderView compute_shader;
wis::PipelineCacheView cache;
wis::PipelineFlags flags;
};
}
C++ Implementation Specific Version:
namespace wis{
struct VKComputePipelineDesc {
wis::VKRootSignatureView root_signature;
wis::VKShaderView compute_shader;
wis::VKPipelineCacheView cache;
wis::PipelineFlags flags;
};
struct DX12ComputePipelineDesc {
wis::DX12RootSignatureView root_signature;
wis::DX12ShaderView compute_shader;
wis::DX12PipelineCacheView cache;
wis::PipelineFlags flags;
};
}
Members
root_signature describes root signature description for the pipeline.
compute_shader indicates compute shader bytecode.
cache defines pipeline cache data. Used to speed up pipeline creation if available.
flags describes pipeline flags. Describe additional options for the pipeline.
Description
See Also
- See also
- Functions: wisDeviceCreateComputePipeline