Results for glslparsertest/CorrectUnsizedArray.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.921000003815
note Returncode was 1
errors
  • Failed to compile fragment shader tests/glslparsertest/shaders\\CorrectUnsizedArray.frag: ERROR: 0:11: \'\' : the second dimension of array must be initialized
  • ERROR: 0:12: \'gl_TexCoord\' : redeclaration array with different size
  • ERROR: 0:17: \'\' : the second dimension of array must be initialized
  • ERROR: 0:18: \'array\' : redeclaration array with different size
  • ERROR: 0:21: \'\' : the second dimension of array must be initialized
  • ERROR: 0:23: \'array\' : redeclaration array with different size
  • ERROR: 6 compilation errors. No code generated.
info
Returncode: 1

Errors:
Failed to compile fragment shader tests/glslparsertest/shaders\CorrectUnsizedArray.frag: ERROR: 0:11: '' : the second dimension of array must be initialized 
ERROR: 0:12: 'gl_TexCoord' : redeclaration array with different size 
ERROR: 0:17: '' : the second dimension of array must be initialized 
ERROR: 0:18: 'array' : redeclaration array with different size 
ERROR: 0:21: '' : the second dimension of array must be initialized 
ERROR: 0:23: 'array' : redeclaration array with different size 
ERROR: 6 compilation errors.  No code generated.




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

int array[2];
varying vec4 gl_TexCoord[];
varying vec4 gl_TexCoord[2];

void main()
{
    {
        float array[];
        float array[2];
    }
    {
        vec2 array[];
        vec2 v = array[1];
        vec2 array[2];
    }
    int i = array[1];
}
s\mks-hackers\App

Back to summary