Frozen shader modules used by the live Slug rendering pipelines. Each creator selects the projection the device consumes: the platform-native artifact for a Metal or Vulkan device, and the authored WGSL artifact everywhere else. More...
#include "donner/gpu/Device.h"Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| gpu::Result< gpu::ShaderModule > | donner::geode::createSlugFillShader (gpu::Device &device) |
| Creates the SlugFill module from the frozen artifact matching the device's source kind. Ordinary and batched fills share reflected draw and instance records. | |
| gpu::Result< gpu::ShaderModule > | donner::geode::createSlugGradientShader (gpu::Device &device) |
| Creates the SlugGradient module from the frozen artifact matching the device's source kind. Linear and radial gradients share the verified gradient parameter block. | |
| gpu::Result< gpu::ShaderModule > | donner::geode::createSlugMaskShader (gpu::Device &device) |
| Creates the SlugMask module from the frozen artifact matching the device's source kind. The fragment writes scalar clip coverage to an RGBA8Unorm target. | |
| gpu::Result< gpu::ShaderModule > | donner::geode::createImageBlitShader (gpu::Device &device) |
| Creates the ImageBlit module from the frozen artifact matching the device's source kind. The quad is generated from the vertex index and needs no vertex buffers. | |
Frozen shader modules used by the live Slug rendering pipelines. Each creator selects the projection the device consumes: the platform-native artifact for a Metal or Vulkan device, and the authored WGSL artifact everywhere else.
| gpu::Result< gpu::ShaderModule > donner::geode::createImageBlitShader | ( | gpu::Device & | device | ) |
Creates the ImageBlit module from the frozen artifact matching the device's source kind. The quad is generated from the vertex index and needs no vertex buffers.
| device | GPU device receiving the prevalidated source and metadata. |
| gpu::Result< gpu::ShaderModule > donner::geode::createSlugFillShader | ( | gpu::Device & | device | ) |
Creates the SlugFill module from the frozen artifact matching the device's source kind. Ordinary and batched fills share reflected draw and instance records.
| device | GPU device receiving the prevalidated source and metadata. |
| gpu::Result< gpu::ShaderModule > donner::geode::createSlugGradientShader | ( | gpu::Device & | device | ) |
Creates the SlugGradient module from the frozen artifact matching the device's source kind. Linear and radial gradients share the verified gradient parameter block.
| device | GPU device receiving the prevalidated source and metadata. |
| gpu::Result< gpu::ShaderModule > donner::geode::createSlugMaskShader | ( | gpu::Device & | device | ) |
Creates the SlugMask module from the frozen artifact matching the device's source kind. The fragment writes scalar clip coverage to an RGBA8Unorm target.
| device | GPU device receiving the prevalidated source and metadata. |