[go: up one dir, main page]

Menu

#557 Shader: type mismatches in earth technique shaders

SVN
closed-fixed
Klauss++
5
2011-02-02
2011-01-27
Klauss++
No

See the following log:

Compilation of technique earth failed... trying 4_ps2.0/earth
Cause: Error compiling program vp:"planet/ground_vs1.1" fp:"planet/ground_ps3.0"
Vertex shader was successfully compiled to run on hardware.

Fragment shader failed to compile with the following errors:
ERROR: 0:101: error(#202) No matching overloaded function found saturatef
ERROR: 0:101: error(#160) Cannot convert from 'const float' to 'highp 2-component vector of float'
ERROR: error(#273) 2 compilation errors. No code generated

Fragment Program Error: Failed to compile planet/ground_ps2.0

Fragment shader failed to compile with the following errors:
ERROR: 0:77: error(#160) Cannot convert from '3-component vector of float' to 'highp float'
ERROR: 0:85: error(#162) Wrong operand types no operation '+' exists that takes a left-hand operand of type '3-component vector of float' and a right operand of type 'highp 4-component vector of float' (or there is no acceptable conversion)
ERROR: error(#273) 2 compilation errors. No code generated

Fragment Program Error: Failed to compile planet/environment
Compilation of technique 3_arbfp/earth failed... trying 2_ps1.4/earth

ERROR: 0:14: error(#247) Function return is not matching type
ERROR: error(#273) 1 compilation errors. No code generated

Fragment Program Error: Failed to compile planet/environment_ps1.4
Compilation of technique 2_ps1.4/earth failed... trying 0_fixed_gl/earth

Discussion

  • Klauss++

    Klauss++ - 2011-01-31

    Just committed some fixes in revision 13018.

    It should solve the problems in those logs, but I'm setting the state to pending just in case.

     
  • Klauss++

    Klauss++ - 2011-01-31
    • status: open --> pending
     
  • Klauss++

    Klauss++ - 2011-01-31
    • status: pending --> open-fixed
     
  • Klauss++

    Klauss++ - 2011-01-31
    • status: open-fixed --> pending-fixed
     
  • Klauss++

    Klauss++ - 2011-02-02
    • status: pending-fixed --> closed-fixed
     

Anonymous
Anonymous

Add attachments
Cancel