Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
ShaderError.h File Reference

Error type returned by the donner::gpu::shader IR builder and layout engine. More...

#include <ostream>
#include <string>
#include "donner/base/RcString.h"
Include dependency graph for ShaderError.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::gpu::shader::ShaderError
 An error from IR construction, validation, or layout computation. More...

Namespaces

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

Functions

void donner::gpu::shader::PrintTo (const ShaderError &error, std::ostream *os)
 gtest PrintTo support for readable failure messages.

Detailed Description

Error type returned by the donner::gpu::shader IR builder and layout engine.

Function Documentation

◆ PrintTo()

void donner::gpu::shader::PrintTo ( const ShaderError & error,
std::ostream * os )
inline

gtest PrintTo support for readable failure messages.

Parameters
errorError to print.
osOutput stream.