|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
An immutable, validated shader IR module. More...
#include "donner/gpu/shader/IrModule.h"
Public Member Functions | |
| const std::vector< IrConstant > & | constants () const |
| Module-scope constants, in declaration order. | |
| const std::vector< IrBinding > & | bindings () const |
| Resource bindings, in declaration order. | |
| const std::vector< IrFunction > & | functions () const |
| Functions (including entry points), in declaration order. | |
| std::string | serialize () const |
| Serializes the module to a stable, line-based text dump for golden tests and debugging. | |
Friends | |
| class | ModuleBuilder |
An immutable, validated shader IR module.
| std::string donner::gpu::shader::IrModule::serialize | ( | ) | const |
Serializes the module to a stable, line-based text dump for golden tests and debugging.
Byte-identical across runs and across semantically identical construction orderings: iteration follows declaration order and the output contains no pointers or addresses.