Home
last modified time | relevance | path

Searched refs:uniformIter (Results 1 – 9 of 9) sorted by relevance

/third_party/vk-gl-cts/modules/glshared/
DglsRandomShaderCase.cpp222 …<rsg::VariableValue>::const_iterator uniformIter = m_uniforms.begin(); uniformIter != m_uniforms.e… in init() local
224 const rsg::VariableType& type = uniformIter->getVariable()->getType(); in init()
229 int unitNdx = uniformIter->getValue().asInt(0); in init()
505 …<rsg::VariableValue>::const_iterator uniformIter = m_uniforms.begin(); uniformIter != m_uniforms.e… in iterate() local
507 …GLint location = glGetUniformLocation(program.getProgram(), uniformIter->getVariable()->getName()); in iterate()
509 …Message << "uniform[" << location << "]: " << uniformIter->getVariable()->getName() << " = " << un… in iterate()
512 setUniformValue(location, uniformIter->getValue()); in iterate()
DglsUniformBlockCase.cpp593 …for (UniformBlock::ConstIterator uniformIter = block.begin(); uniformIter != block.end(); uniformI… in computeStd140Layout() local
595 const Uniform& uniform = *uniformIter; in computeStd140Layout()
925 …for (UniformBlock::ConstIterator uniformIter = block.begin(); uniformIter != block.end(); uniformI… in generateDeclaration() local
928 generateDeclaration(src, *uniformIter, 1 /* indent level */); in generateDeclaration()
1082 …for (UniformBlock::ConstIterator uniformIter = block.begin(); uniformIter != block.end(); uniformI… in generateCompareSrc() local
1084 const Uniform& uniform = *uniformIter; in generateCompareSrc()
1812 …int>::const_iterator uniformIter = block.activeUniformIndices.begin(); uniformIter != block.active… in checkLayoutIndices() local
1814 if (!deInBounds32(*uniformIter, 0, numUniforms)) in checkLayoutIndices()
1816 …log << TestLog::Message << "Error: Invalid active uniform index " << *uniformIter << " in block '"… in checkLayoutIndices()
DglsFragOpInteractionCase.cpp598 …::VariableValue>::const_iterator uniformIter = uniformValues.begin(); uniformIter != uniformValues… in iterate() local
599 …tUniformValue(ctx, ctx.getUniformLocation(program, uniformIter->getVariable()->getName()), uniform… in iterate()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgProgramExecutor.cpp229 …or<VariableValue>::const_iterator uniformIter = uniformValues.begin(); uniformIter != uniformValue… in execute() local
230 execCtx.getValue(uniformIter->getVariable()) = uniformIter->getValue().value(); in execute()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockCase.cpp563 …for (UniformBlock::ConstIterator uniformIter = block.begin(); uniformIter != block.end(); uniformI… in computeStd140Layout() local
565 const Uniform& uniform = *uniformIter; in computeStd140Layout()
837 …for (UniformBlock::ConstIterator uniformIter = block.begin(); uniformIter != block.end(); uniformI… in generateDeclaration() local
840 generateDeclaration(src, *uniformIter, 1 /* indent level */); in generateDeclaration()
1009 …for (UniformBlock::ConstIterator uniformIter = block.begin(); uniformIter != block.end(); uniformI… in generateCompareSrc() local
1011 const Uniform& uniform = *uniformIter; in generateCompareSrc()
1767 for (vector<int>::const_iterator uniformIter = block.activeUniformIndices.begin(); in checkLayoutIndices() local
1768 uniformIter != block.activeUniformIndices.end(); uniformIter++) in checkLayoutIndices()
1770 if (!deInBounds32(*uniformIter, 0, numUniforms)) in checkLayoutIndices()
1772 … log << TestLog::Message << "Error: Invalid active uniform index " << *uniformIter << " in block '" in checkLayoutIndices()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramLinkedResources.cpp1044 auto uniformIter = mUniforms.begin(); in pruneUnusedUniforms() local
1045 while (uniformIter != mUniforms.end()) in pruneUnusedUniforms()
1047 if (uniformIter->active) in pruneUnusedUniforms()
1049 ++uniformIter; in pruneUnusedUniforms()
1053 mUnusedUniforms.emplace_back(uniformIter->name, uniformIter->isSampler(), in pruneUnusedUniforms()
1054 uniformIter->isImage(), uniformIter->isAtomicCounter(), in pruneUnusedUniforms()
1055 uniformIter->isFragmentInOut); in pruneUnusedUniforms()
1056 uniformIter = mUniforms.erase(uniformIter); in pruneUnusedUniforms()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DProgramLinkedResources.cpp900 auto uniformIter = mUniforms.begin(); in pruneUnusedUniforms() local
901 while (uniformIter != mUniforms.end()) in pruneUnusedUniforms()
903 if (uniformIter->active) in pruneUnusedUniforms()
905 ++uniformIter; in pruneUnusedUniforms()
909 mUnusedUniforms.emplace_back(uniformIter->name, uniformIter->isSampler()); in pruneUnusedUniforms()
910 uniformIter = mUniforms.erase(uniformIter); in pruneUnusedUniforms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp703 …for (UniformBlock::ConstIterator uniformIter = block.begin(); uniformIter != block.end(); uniformI… in computeReferenceLayout() local
705 const Uniform& uniform = *uniformIter; in computeReferenceLayout()
1564 …for (UniformBlock::ConstIterator uniformIter = block.begin(); uniformIter != block.end(); uniformI… in generateCompareSrc() local
1566 const Uniform& uniform = *uniformIter; in generateCompareSrc()
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp376 const skvm::Val* uniformIter = uniforms.begin(); in setupGlobals() local
420 SkASSERT(uniformIter + nslots <= uniforms.end()); in setupGlobals()
422 this->writeToSlot(slot + i, uniformIter[i]); in setupGlobals()
424 uniformIter += nslots; in setupGlobals()
437 SkASSERT(uniformIter == uniforms.end()); in setupGlobals()