cheatah
Struct

space::irbem::gpu::ShaderMissing

cheatah-space v0.1.0-alpha — Biome Standard 0.6.5-alpha

A registered kernel whose compiled SPIR-V is not where shader_dir says it should be.

A build error rather than a machine capability, which is why it is a distinct type and why it is diagnosed BEFORE availability: a missing .spv is worth reporting on a machine with no GPU too, since that is exactly the machine where the shader build step is most likely to have been skipped.

Functions

fn ShaderMissing(const std::string &what) #

Construct with a message naming the kernel and the path that was searched.

Parameters
what

the message, which must carry the resolved path so the fix is obvious.

Complexity

O(len(what)).

Allocation

one string copy, inside std::runtime_error.