Home | History | Annotate | Download | only in glshared

Lines Matching refs:uniforms

273 	std::vector<UniformLayoutEntry>		uniforms;
283 for (int ndx = 0; ndx < (int)uniforms.size(); ndx++)
285 if (uniforms[ndx].name == name)
508 layout.uniforms.push_back(entry);
521 entry.name = curPrefix + "[0]"; // Array uniforms are always postfixed with [0]
531 layout.uniforms.push_back(entry);
545 entry.name = curPrefix + "[0]"; // Array uniforms are always postfixed with [0]
556 layout.uniforms.push_back(entry);
579 // \todo [2012-01-23 pyry] Uniforms in default block.
590 int firstUniformNdx = (int)layout.uniforms.size();
598 int uniformIndicesEnd = (int)layout.uniforms.size();
676 const UniformLayoutEntry& entry = layout.uniforms[layout.blocks[blockNdx].activeUniformIndices[entryNdx]];
1010 const UniformLayoutEntry& entry = layout.uniforms[uniformNdx];
1175 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to get number of uniforms and uniform blocks");
1235 layout.uniforms.resize(numActiveUniforms);
1238 UniformLayoutEntry& entry = layout.uniforms[uniformNdx];
1322 const UniformLayoutEntry& srcEntry = srcLayout.uniforms[*srcUniformNdxIter];
1328 copyUniformData(dstLayout.uniforms[dstUniformNdx], dstBlockPtr, srcEntry, srcBlockPtr);
1453 log << TestLog::Section("ActiveUniforms", "Active Uniforms");
1454 for (int uniformNdx = 0; uniformNdx < (int)glLayout.uniforms.size(); uniformNdx++)
1455 log << TestLog::Message << uniformNdx << ": " << glLayout.uniforms[uniformNdx] << TestLog::EndMessage;
1469 // Verify all shared blocks - all uniforms should be active, and certain properties match.
1614 log << TestLog::Message << "Error: Number of active uniforms differ in block '" << instanceName
1623 const UniformLayoutEntry& refEntry = refLayout.uniforms[*ndxIter];
1633 const UniformLayoutEntry& cmpEntry = cmpLayout.uniforms[cmpEntryNdx];
1691 log << TestLog::Message << "Error: Number of active uniforms differ in block '" << instanceName
1700 const UniformLayoutEntry& refEntry = refLayout.uniforms[*ndxIter];
1710 const UniformLayoutEntry& cmpEntry = cmpLayout.uniforms[cmpEntryNdx];
1757 const UniformLayoutEntry& cmpEntry = cmpLayout.uniforms[*ndxIter];
1767 const UniformLayoutEntry& refEntry = refLayout.uniforms[refEntryNdx];
1788 int numUniforms = (int)layout.uniforms.size();
1795 const UniformLayoutEntry& uniform = layout.uniforms[uniformNdx];
1804 // Check active uniforms.
1825 int numUniforms = (int)layout.uniforms.size();
1830 const UniformLayoutEntry& uniform = layout.uniforms[uniformNdx];