ChrisOS Research ProjectOperating systems · language systems · graphics · machine emulation
DOCUMENTATION ARCHIVEMAIN BRANCH
ChrisOS/Source reference: kernel/gfx/shader/glsl/mvp.vert

Source reference: kernel/gfx/shader/glsl/mvp.vert

Deterministic source record. The complete textual file is reproduced below; this page does not replace architectural interpretation in the authored chapters.

File identity

Field Value
Path kernel/gfx/shader/glsl/mvp.vert
Lines 12
Bytes 261
SHA-256 235e514f967a313c5337a083230ca2f0ad81c33e6516f4846f1f1801be3dc554
ChrisOS revision da3df29cb397932c43d32373871fb9380e688ade

Detected syntactic dependencies

Line Include
— No preprocessor include detected.

Detected symbols

Line Symbol
8 main

Complete source

The following block is the complete textual file at the recorded revision. No lines are elided, abbreviated or paraphrased.

#version 330
layout(location = 0) in vec4 position;
layout(location = 1) in vec4 color;
uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;
out vec4 vcolor;
void main() {
    vcolor = color;
    gl_Position = projection * view * model * position;
}

Role of this record

The atlas guarantees file-by-file traceability. Responsibility, invariants, ownership, concurrency, security, performance and subsystem interactions belong in authored chapters and must cite this file when applicable.

Document record ID: source-235e514f967a313c Reviewed source: da3df29cb397 Class: generated-source-reference