#sessionInfo releaseName git-0c2b7cdc3a0455e0486f88574021d3ccd22f28a8
#sessionInfo releaseId 0x0c2b7cdc
#sessionInfo targetName "X11 EGL/GLX"
#beginSession
#beginTestCaseResult dEQP-GLES31.functional.program_interface_query.uniform.block_index.default_block
Querying properties of vec4 uniform variable.
Variable is:
vec4
declared as "uniform"
in the default block
#version 310 es
layout(local_size_x=1) in;
uniform highp vec4 target;
writeonly buffer DummyOutputInterface
{
highp vec4 dummyValue;
} dummyOutputBlock;
highp vec4 readInputs()
{
highp vec4 retValue = vec4(0.0);
retValue += vec4(target.xyxy);
return retValue;
}
void writeOutputs(in highp vec4 dummyValue)
{
dummyOutputBlock.dummyValue = dummyValue;
}
void main()
{
writeOutputs(readInputs());
}
2.354000
0.581000
For resource index 0 ("target") got following properties:
GL_BLOCK_INDEX: -1
Verifying block index, expecting -1
6153
Pass
#endTestCaseResult
#beginTestCaseResult dEQP-GLES31.functional.program_interface_query.uniform.block_index.named_block
Querying properties of vec4 uniform variable.
Variable is:
vec4
in an interface block
declared as "uniform"
in the default block
#version 310 es
layout(local_size_x=1) in;
layout(binding=0) uniform TargetInterface
{
highp vec4 target;
} targetInstance;
writeonly buffer DummyOutputInterface
{
highp vec4 dummyValue;
} dummyOutputBlock;
highp vec4 readInputs()
{
highp vec4 retValue = vec4(0.0);
retValue += vec4(targetInstance.target.xyxy);
return retValue;
}
void writeOutputs(in highp vec4 dummyValue)
{
dummyOutputBlock.dummyValue = dummyValue;
}
void main()
{
writeOutputs(readInputs());
}
0.319000
0.522000
For resource index 0 ("TargetInterface.target") got following properties:
GL_BLOCK_INDEX: 1
Verifying block index, expecting a valid block index
query block name: glGetError() returned GL_INVALID_VALUE at es31fProgramInterfaceQueryTestCase.cpp:609
2495
query block name: glGetError() returned GL_INVALID_VALUE at es31fProgramInterfaceQueryTestCase.cpp:609
#endTestCaseResult
#beginTestCaseResult dEQP-GLES31.functional.program_interface_query.uniform.block_index.unnamed_block
Querying properties of vec4 uniform variable.
Variable is:
vec4
in an interface block
declared as "uniform"
in the default block
#version 310 es
layout(local_size_x=1) in;
layout(binding=0) uniform TargetInterface
{
highp vec4 target;
};
writeonly buffer DummyOutputInterface
{
highp vec4 dummyValue;
} dummyOutputBlock;
highp vec4 readInputs()
{
highp vec4 retValue = vec4(0.0);
retValue += vec4(target.xyxy);
return retValue;
}
void writeOutputs(in highp vec4 dummyValue)
{
dummyOutputBlock.dummyValue = dummyValue;
}
void main()
{
writeOutputs(readInputs());
}
0.291000
0.526000
For resource index 0 ("target") got following properties:
GL_BLOCK_INDEX: 1
Verifying block index, expecting a valid block index
query block name: glGetError() returned GL_INVALID_VALUE at es31fProgramInterfaceQueryTestCase.cpp:609
2408
query block name: glGetError() returned GL_INVALID_VALUE at es31fProgramInterfaceQueryTestCase.cpp:609
#endTestCaseResult
#beginTestCaseResult dEQP-GLES31.functional.program_interface_query.uniform.block_index.block_array
Querying properties of vec4 uniform variable.
Variable is:
vec4
in an interface block
array
declared as "uniform"
in the default block
#version 310 es
layout(local_size_x=1) in;
layout(binding=0) uniform TargetInterface
{
highp vec4 target;
} targetInstance[3];
writeonly buffer DummyOutputInterface
{
highp vec4 dummyValue;
} dummyOutputBlock;
highp vec4 readInputs()
{
highp vec4 retValue = vec4(0.0);
retValue += vec4(targetInstance[0].target.xyxy);
retValue += vec4(targetInstance[1].target.xyxy);
retValue += vec4(targetInstance[2].target.xyxy);
return retValue;
}
void writeOutputs(in highp vec4 dummyValue)
{
dummyOutputBlock.dummyValue = dummyValue;
}
void main()
{
writeOutputs(readInputs());
}
0.398000
1.887000
For resource index 0 ("TargetInterface.target") got following properties:
GL_BLOCK_INDEX: 1
Verifying block index, expecting a valid block index
Block name with index 1 is "TargetInterface[1]"
Error, expected TargetInterface[0]
3985
resource block index invalid
#endTestCaseResult
#endSession