Lines Matching refs:returnValues
1355 int returnValues[] = { 0, 0, 0 };
1357 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(queryParams) == DE_LENGTH_OF_ARRAY(returnValues));
1361 gl.getProgramResourceiv(program, GL_SHADER_STORAGE_BLOCK, (deUint32)blockNdx, DE_LENGTH_OF_ARRAY(queryParams), &queryParams[0], DE_LENGTH_OF_ARRAY(returnValues), &returnLength, &returnValues[0]);
1364 if (returnLength != DE_LENGTH_OF_ARRAY(returnValues))
1368 entry.size = returnValues[0];
1371 if (returnValues[1] > 0)
1373 const int numBlockVars = returnValues[1];
1386 if (returnValues[2] > 0)
1388 const int nameLen = returnValues[2];
1423 int returnValues[DE_LENGTH_OF_ARRAY(queryParams)];
1425 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(queryParams) == DE_LENGTH_OF_ARRAY(returnValues));
1429 gl.getProgramResourceiv(program, GL_BUFFER_VARIABLE, (deUint32)bufVarNdx, DE_LENGTH_OF_ARRAY(queryParams), &queryParams[0], DE_LENGTH_OF_ARRAY(returnValues), &returnLength, &returnValues[0]);
1432 if (returnLength != DE_LENGTH_OF_ARRAY(returnValues))
1437 entry.blockNdx = returnValues[0];
1438 entry.type = glu::getDataTypeFromGLType(returnValues[1]);
1439 entry.offset = returnValues[2];
1440 entry.arraySize = returnValues[3];
1441 entry.arrayStride = returnValues[4];
1442 entry.matrixStride = returnValues[5];
1443 entry.topLevelArraySize = returnValues[6];
1444 entry.topLevelArrayStride = returnValues[7];
1445 entry.isRowMajor = returnValues[8] != 0;
1449 if (returnValues[9] > 0)
1451 const int nameLen = returnValues[9];