Results for glslparsertest/glsl2/bit-logic-assign-02.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.90499997139
note Returncode was 1
errors
  • Failed to compile fragment shader tests/glslparsertest/glsl2\\bit-logic-assign-02.frag: ERROR: 0:21: \'assign\' : cannot convert from \'const unsigned int\' to \' unsigned int\'
  • ERROR: 0:22: \'assign\' : cannot convert from \'const unsigned int\' to \' unsigned int\'
  • ERROR: 0:23: \'assign\' : cannot convert from \'const unsigned int\' to \' unsigned int\'
  • ERROR: 3 compilation errors. No code generated.
info
Returncode: 1

Errors:
Failed to compile fragment shader tests/glslparsertest/glsl2\bit-logic-assign-02.frag: ERROR: 0:21: 'assign' :  cannot convert from 'const  unsigned int' to ' unsigned int'
ERROR: 0:22: 'assign' :  cannot convert from 'const  unsigned int' to ' unsigned int'
ERROR: 0:23: 'assign' :  cannot convert from 'const  unsigned int' to ' unsigned int'
ERROR: 3 compilation errors.  No code generated.




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

// Expected: PASS, glsl == 1.30
//
// Description: bit-logic assignment ops with argument type (uint, uint)
//
// From page 50 (page 56 of PDF) of the GLSL 1.30 spec:
// "The operands must be of type signed or unsigned integers or integer
// vectors."

#version 130
void main() {
    uint x = uint(0);
    x &= uint(1);
    x |= uint(1);
    x ^= uint(1);
}

Back to summary