⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module shader

Module shader 

Source
Expand description

Shader Compiler and Executor

Provides a software shader pipeline using TGSI-like instructions. Shaders are compiled from high-level descriptions into instruction lists, then executed per-pixel by the software rasteriser.

All arithmetic uses integer or 16.16 fixed-point math (no FPU required).

Structs§

ShaderCompiler
Compiles high-level shader descriptions to TGSI instruction lists.
ShaderExecutor
Executes shader programs on pixel data using software rasterisation.
ShaderProgram
A compiled shader program containing instructions and uniform bindings.

Enums§

ShaderOp
High-level shader description that gets compiled to TGSI instructions.
ShaderType
Type of shader in the pipeline.
SrcOperand
Source operand for a TGSI instruction.
TgsiInstruction
TGSI-like instruction set.
UniformValue
A uniform value passed to shader programs.