cvkg-render-gpu 0.2.1

Cyber Viking Kvasir Graph (CVKG) - High-fidelity agentic UI framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Color blindness simulation post-process shader
// Applies Brettel/ViƩnot Daltonization matrix to the screen texture

// This file is included in the main WGSL_SRC concat in lib.rs

// Note: The shader functions are defined in the color_blindness module's
// shader_source() function and compiled separately as a dedicated pipeline.
// This file provides the shared uniforms and types for the WGSL concat.

// Color blind simulation uniforms (must match Rust ColorBlindUniforms layout)
// These are appended to SceneUniforms group(2) @binding(2)

// The actual fragment shader for color blindness simulation
// uses its own render pipeline to avoid interfering with the main pipeline.