Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
ConvolveMatrixBindings.h File Reference

Bindings shared by the SVG convolution program and its host without linking the shader IR. More...

#include <cstddef>
#include <cstdint>
#include <string_view>
Include dependency graph for ConvolveMatrixBindings.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::gpu::shader::programs::ConvolveMatrixParams
 Host storage layout consumed by the matrix-convolution program. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Enumerations

enum class  donner::gpu::shader::programs::ConvolveMatrixBinding : uint32_t {
  InputTexture = 0 ,
  OutputTexture = 1 ,
  Params = 2
}
 Resource bindings for matrix convolution. More...

Variables

constexpr std::string_view donner::gpu::shader::programs::kConvolveMatrixEntryPoint = "cs_main"
 Compute entry point.
constexpr uint32_t donner::gpu::shader::programs::kConvolveMatrixWorkgroupSize = 8
 Square compute workgroup extent.
constexpr uint32_t donner::gpu::shader::programs::kConvolveMatrixKernelCapacity = 25
 Maximum number of tightly packed kernel coefficients in the parameter storage block.

Detailed Description

Bindings shared by the SVG convolution program and its host without linking the shader IR.

Enumeration Type Documentation

◆ ConvolveMatrixBinding

Resource bindings for matrix convolution.

Enumerator
InputTexture 

Sampled source.

OutputTexture 

Float storage destination.

Params 

Header and tightly packed kernel coefficients.