Results for glslparsertest/glsl2/constructor-26.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.246999979019
note Returncode was 1
errors
  • Failed to compile vertex shader tests/glslparsertest/glsl2\\constructor-26.vert: Vertex shader failed to compile with the following errors:
  • ERROR: 0:16: error(#213) Constructor cannot convert parameter 1 from \'int\' to \'float\'
  • ERROR: error(#273) 1 compilation errors. No code generated
info
Returncode: 1

Errors:
Failed to compile vertex shader tests/glslparsertest/glsl2\constructor-26.vert: Vertex shader failed to compile with the following errors:
ERROR: 0:16: error(#213) Constructor cannot convert parameter 1 from 'int' to 'float'
ERROR: error(#273) 1 compilation errors.  No code generated



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.20
//
// # NOTE: Config section was auto-generated from file
// # NOTE: 'glslparser.tests' at git revision
// # NOTE: 6cc17ae70b70d150aa1751f8e28db7b2a9bd50f0
// [end config]

/* PASS */
#version 120
struct s { float f; };

void main()
{
    s t = s(1); // an implicit conversion should happen here
}

Back to summary