Opened 6 years ago

Closed 6 years ago

#842 closed defect (no change required)

shader compile error in gfx_los_shader.lua

Reported by: abma Owned by:
Priority: major Milestone:
Component: BAR Version:
Keywords: Cc:

Description

[f=0000000] 0:1(23): error: could not implicitly convert operands to arithmetic operator 0:1(23): error: initializer of const variable `mapxmul' must be a constant expression 0:2(23): error: could not implicitly convert operands to arithmetic operator 0:2(23): error: initializer of const variable `mapzmul' must be a constant expression 0:23(26): error: could not implicitly convert operands to arithmetic operator 0:23(18): error: operands to arithmetic operators must be numeric 0:23(8): error: no matching function for call to `max(float, error)'; candidates are: 0:23(8): error: float max(float, float) 0:23(8): error: vec2 max(vec2, float) 0:23(8): error: vec3 max(vec3, float) 0:23(8): error: vec4 max(vec4, float) 0:23(8): error: vec2 max(vec2, vec2) 0:23(8): error: vec3 max(vec3, vec3) 0:23(8): error: vec4 max(vec4, vec4) 0:23(8): error: int max(int, int) 0:23(8): error: ivec2 max(ivec2, int) 0:23(8): error: ivec3 max(ivec3, int) 0:23(8): error: ivec4 max(ivec4, int) 0:23(8): error: ivec2 max(ivec2, ivec2) 0:23(8): error: ivec3 max(ivec3, ivec3) 0:23(8): error: ivec4 max(ivec4, ivec4) 0:24(27): error: could not implicitly convert operands to arithmetic operator 0:24(15): error: cannot construct `vec4' from a non-numeric data type

[f=0000000] Bad shader, reverting to non-GLSL widget. [f=0000000] Loaded widget: LOS widget <gfx_los_shader.lua>

Change History (2)

comment:2 by Bluestone, 6 years ago

Resolution: no change required
Status: newclosed

Atm the individual bloom/los shader widgets are kept for reference (afaik, behe didn't want them removed yet - #761). Use the joint bloom/los widget instead or re-open if you get the same issue with that.

Note: See TracTickets for help on using tickets.