2025-08-08 16:11 CEST

spring: develop 42fc59a2 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
Gajo Petrovic Gajo Petrovic develop 2016-04-22 04:47:27 develop d9f3d4a9
Changeset add an error log (should be renamed to info log?) even when the shader
successfully compiles;

This change helps shader writers detect potential code errors that would
make the compilation fail on other platforms.

This already helps in the case of deferred lighting shader:

[f=0006634] [LuaUI] Loading widget: Deferred rendering
<gfx_deferred_rendering.lua>
[f=0006634] 0(27) : warning C7011: implicit cast from "int" to "float"
0(46) : warning C7011: implicit cast from "int" to "float"
0(101) : warning C7011: implicit cast from "int" to "float"

[f=0006634] 0(28) : warning C7011: implicit cast from "int" to "float"
0(47) : warning C7011: implicit cast from "int" to "float"
0(102) : warning C7011: implicit cast from "int" to "float"
mod - rts/Lua/LuaShaders.cpp Diff ] File ]