Not logged inOpenClonk Forum
Up Topic Development / Developer's Corner / Error with landscape shader
- - By Newton [de] Date 2012-10-14 17:32
Today I got an error with the landscape shader for the first time I used the landscape shader so far. Is this log of any help, Peter?

[17:02:46]  gl: Texturing uses 29 slots at 512x512, 4 levels (44 MB total)
[17:02:46]   gl: Compiling vertex shader 0:
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46]   gl: Compiling vertex shader 1:
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46]   gl: Compiling vertex shader 2:
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46]   gl: Compiling vertex shader 3:
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46]   gl: Compiling vertex shader 4:
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46]   gl: Compiling vertex shader 5:
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46]   gl: Compiling vertex shader 6:
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46]   gl: Compiling vertex shader 7:
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46] (0) : error C1021: operands to "[]" must be integral
[17:02:46]   gl: Failed to link shader!
[17:02:46] FATALER FEHLER: [!] Could not initialize landscape shader!
[17:02:46] FATALER FEHLER: Fehler beim Landschaftsgenerator.
Parent - - By PeterW [gb] Date 2012-10-14 20:54
When did the error start happening?
Parent - - By Newton [de] Date 2012-10-14 21:04
Just once, at the start of a network round.
Parent - By PeterW [gb] Date 2012-10-14 21:11
Huh. Not sure I can say much on that without it being reproducible somehow :/

Even the count of errors doesn't make sense. There's no type of array access in the shader that happens exactly four times...
Up Topic Development / Developer's Corner / Error with landscape shader

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill