Results for glslparsertest/glsl2/bit-shift-assign-08.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.256826877594
note
Returncode was 1
errors
  • Successfully compiled fragment shader tests/glslparsertest/glsl2/bit-shift-assign-08.frag:
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/glslparsertest/glsl2/bit-shift-assign-08.frag fail 1.30
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/glslparsertest/glsl2/bit-shift-assign-08.frag: 


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

// Expected: FAIL, glsl == 1.30
//
// Description: bit-shift-assign with argument type (int, ivec2)
//
// From page 50 (page 56 of PDF) of the GLSL 1.30 spec:
// "If the first operand is a scalar, the second operand has to be a scalar as
// well."

#version 130
void main() {
    int x = 7;
    x <<= ivec2(0, 1);
}

Back to summary