[Mesa-dev] [Bug 98223] dEQP GLES3.1 program_interface_query failures w/ error "could not find target resource"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 13 05:23:45 UTC 2016


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 at lists.freedesktop.org
          Reporter: randy.xu at intel.com
        QA Contact: intel-3d-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161013/78459510/attachment.html>


More information about the mesa-dev mailing list