Results for glslparsertest/glsl2/swiz-02.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.228509187698
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/glslparsertest/glsl2/swiz-02.vert fail 1.10
errors
  • Successfully compiled vertex shader tests/glslparsertest/glsl2/swiz-02.vert: 0(17) : warning C7011: implicit cast from "vec2" to "float"
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/glslparsertest/glsl2/swiz-02.vert: 0(17) : warning C7011: implicit cast from "vec2" to "float"



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

/* FAIL: assignment of a vec2 to a float */
void main()
{
	float a;
	vec4 b;

	b.x = 6.0;
	a = b.xy;
}

Back to summary