Skip to content
  • Paul Berry's avatar
    generated tests: Add tests for builtin functions introduced in GLSL 1.30 · 8101d45b
    Paul Berry authored
    
    
    GLSL 1.30 added support for the following new built-in functions:
    sinh, cosh, tanh, asinh, acosh, atanh, round, roundEven, trunc, modf,
    isnan, and isinf.
    
    This patch adds tests for all of the new built-in functions except
    modf, isnan, and isinf.  modf will need to be tested separately
    because it has an out parameter; isnan and isinf will need to be
    tested separately because producing infinite and NaN values will
    require extra work in the shader.
    
    Reviewed-by: default avatarChad Versace <chad@chad-versace.us>
    8101d45b