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

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

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

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::TileBinding : uint32_t {
  InputTexture = 0 ,
  OutputTexture = 1 ,
  Params = 2
}
 Resource bindings for subregion repetition. More...

Variables

constexpr std::string_view donner::gpu::shader::programs::kTileEntryPoint = "cs_main"
 Compute entry point.
constexpr uint32_t donner::gpu::shader::programs::kTileWorkgroupSize = 8
 Square compute workgroup extent.

Detailed Description

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

Enumeration Type Documentation

◆ TileBinding

enum class donner::gpu::shader::programs::TileBinding : uint32_t
strong

Resource bindings for subregion repetition.

Enumerator
InputTexture 

Sampled source.

OutputTexture 

Float storage destination.

Params 

Signed source origin and extent in pixels.