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

Source reference: kernel/gfx/shader/glsl/tex.frag

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/tex.frag
Lines 8
Bytes 140
SHA-256 10584e225a032b088018d900fe2d1b8ec15474cbb93a2f326c4f702abc78b5dd
ChrisOS revision da3df29cb397932c43d32373871fb9380e688ade

Detected syntactic dependencies

Line Include
— No preprocessor include detected.

Detected symbols

Line Symbol
5 main

Complete source

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

1
2
3
4
5
6
7
#version 330
in vec2 fragUV;
uniform sampler2D diffuseTexture;
out vec4 color;
void main() {
    color = texture(diffuseTexture, fragUV);
}

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-10584e225a032b08 Reviewed source: da3df29cb397 Class: generated-source-reference