Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::ComputeEntryPointInfo Struct Reference

One compute entry point a shader module contains, with the workgroup size compiled into it. More...

#include "donner/gpu/Descriptors.h"

Public Attributes

RcString name
 Entry point name.
WorkgroupSize workgroupSize
 Workgroup size compiled into that entry point.

Detailed Description

One compute entry point a shader module contains, with the workgroup size compiled into it.

The runtime cannot read a workgroup size back out of compiled WGSL, MSL, or SPIR-V, so a module reports the entry points it carries here and Device::createComputePipeline uses that to reject a pipeline descriptor that disagrees with the shader.

Member Data Documentation

◆ name

RcString donner::gpu::ComputeEntryPointInfo::name

Entry point name.

◆ workgroupSize

WorkgroupSize donner::gpu::ComputeEntryPointInfo::workgroupSize

Workgroup size compiled into that entry point.


The documentation for this struct was generated from the following file: