Overview

Hardware bdw_iris
Architecture m64
Status fail
Matches Expectations Indicates whether the test status matches the status that CI expects for the test
fail
Time 0.045679

See also historical results for this test.

stdout

/tmp/build_root/m64/lib/piglit/bin/ext_transform_feedback-structs struct-whole-array run -auto -fbo
piglit: debug: Requested an OpenGL 3.2 Core Context, and received a matching 4.6 context

Output v.a element 4: expected 101, got -1082130432
Output v.a element 5: expected 201, got -1082130432
Output v.a element 6: expected 301, got 0
Output v.a element 7: expected 401, got 1065353216
Output v.a element 12: expected 103, got -1082130432
Output v.a element 13: expected 203, got -1082130432
Output v.a element 14: expected 303, got 0
Output v.a element 15: expected 403, got 1065353216
Output v.b element 0: expected 500.000000, got 0.000000
Output v.b element 1: expected 600.000000, got 0.000000
Output v.c element 1: expected 701, got 0
Probe color at (0,0)
  Expected: 0 255 0 255
  Observed: 0 0 0 0
Vertex shader:
#version 150
#define DECLARE_VARYING(DIR, TYPE, NAME) flat DIR TYPE NAME
#define VARYING(NAME) NAME
struct S { uvec4[4] a; vec2[2] b; int[3] c; };
in vec4 pos;
DECLARE_VARYING(out, S, v);
void main()
{
  gl_Position = pos;
  for (int i = 0; i < 4; i++) {
    if (i < 4) VARYING(v).a[i] = uvec4(100, 200, 300, 400) + uint(i);
    if (i < 2) VARYING(v).b[i] = vec2(500.0, 600.0) + float(i);
    if (i < 3) VARYING(v).c[i] = 700 + i;
  }
}

Fragment shader:
#version 150
#define DECLARE_VARYING(DIR, TYPE, NAME) flat DIR TYPE NAME
#define VARYING(NAME) NAME
struct S { uvec4[4] a; vec2[2] b; int[3] c; };
DECLARE_VARYING(in, S, v);
out vec4 color;
void main()
{
  bool pass = true;
  for (int i = 0; i < 3; i++) {
    if (i < 4 && VARYING(v).a[i] != uvec4(100, 200, 300, 400) + uint(i)) pass = false;
    if (i < 2 && VARYING(v).b[i] != vec2(500.0, 600.0) + float(i)) pass = false;
    if (i < 3 && VARYING(v).c[i] != 700 + i) pass = false;
  }
  if (pass)
    color = vec4(0.0, 1.0, 0.0, 1.0);
  else
    color = vec4(1.0, 0.0, 0.0, 1.0);
}

stderr


pid: [533]
start time: 1626710572.5834563
end time: 1626710572.6291354