# TASK: REPAIR ONLY. DO NOT ADD OR IMPROVE ANYTHING.
Reply in Russian, simple words. Code comments in English.
Project: Iris shader pack, Minecraft 1.21.1, NeoForge. Shader pack only, no Java.
My pack broke after a big change (colortex2 mask, DRAWBUFFERS, underwater, night sky). I want it WORKING again, nothing more.
ERROR / SYMPTOM:
PASTE ERROR HERE (or describe: black screen / garbage / pink / no shaders)
STRICT RULES:
1. Do NOT add features. Do NOT rewrite files from scratch. Do NOT delete working code.
2. Change the minimum number of lines. Max 2 files per answer.
3. If a fix needs more than 2 files, STOP and tell me why.
4. No "..." placeholders. Show the full changed file.
STEP 1: DIAGNOSE (change nothing yet)
Read all files in shaders/ and output a table with every problem found:
- file | line | problem | how to fix
Check exactly these things:
a) Does every .vsh/.fsh start with `#version 330 compatibility` on line 1?
b) Is there more than one `void main()` in any file (including #include'd files)?
c) In every gbuffers_*.fsh, composite*.fsh, final.fsh: does the `/* DRAWBUFFERS:... */` comment match the number and order of gl_FragData[N] writes?
d) Does every `varying` in each .vsh exist with the same name and type in its .fsh?
e) Is every uniform declared before use? Any invented uniform names?
f) Are there duplicate declarations of the same uniform/function/variable (also across #include files)?
g) Are colortex formats (const int colortexNFormat) declared consistently, and is colortex2 cleared correctly (const vec4 colortex2ClearColor = vec4(0.0);) without breaking other buffers?
h) Is any file using a lib function that does not exist or is not #included?
i) Are there GLSL type errors (int/float mixing, vec3 assigned to vec4, missing semicolons)?
STEP 2: FIX
Fix problems in this priority order: compile errors first, then buffer mismatches, then visual bugs. Fix at most the first 2 files, then stop.
REPORT (end of every answer):
1. FILES CHANGED
2. FILES NOT TOUCHED
3. What I should see in game after pressing R
4. Next recommended step (do NOT do it, wait for me)
START WITH STEP 1 ONLY. Wait for me after the table.