https://bugs.freedesktop.org/show_bug.cgi?id=98223

            Bug ID: 98223
           Summary: dEQP GLES3.1 program_interface_query failures w/ error
                    "could not find target resource"
           Product: Mesa
           Version: git
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: glsl-compiler
          Assignee: mesa-dev@lists.freedesktop.org
          Reporter: randy...@intel.com
        QA Contact: intel-3d-b...@lists.freedesktop.org

In dEQP GLES3.1 test suite, there are about 500 failures in
dEQP-GLES31.functional.program_interface_query.program_input* and
dEQP-GLES31.functional.program_interface_query.program_output*. 

The signature is similar:
<Result StatusCode="Fail">could not find target resource</Result>


Take the case
"dEQP-GLES31.functional.program_interface_query.program_input.is_per_patch.interface_blocks.in.block_array.var_array"
for example

The dEQP test case query the shader variable "target" through
"TargetInterface.target[0]", while the name in GLSL type is
"TargetInterface[2].target"

The shader code is:

#version 310 es
#extension GL_EXT_shader_io_blocks : require

in TargetInterface
{
    highp vec4 target[3];
} targetInstance[2];

highp vec4 readInputs()
{
    highp vec4 retValue = vec4(0.0);
    retValue += vec4(targetInstance[0].target[0].xyxy);
    retValue += vec4(targetInstance[0].target[1].xyxy);
    retValue += vec4(targetInstance[0].target[2].xyxy);
    retValue += vec4(targetInstance[1].target[0].xyxy);
    retValue += vec4(targetInstance[1].target[1].xyxy);
    retValue += vec4(targetInstance[1].target[2].xyxy);
    return retValue;
}

void writeOutputs(in highp vec4 dummyValue)
{
    gl_FragDepth = dot(dummyValue.xy, dummyValue.xw);
}

void main()
{
    writeOutputs(readInputs());
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to