Home
last modified time | relevance | path

Searched refs:getVariable (Results 1 – 25 of 57) sorted by relevance

123

/third_party/vk-gl-cts/framework/randomshaders/
DrsgShaderGenerator.cpp86 if (deStringEqual(entry->getVariable()->getName(), name)) in findByName()
101 const Variable* outVar = entry->getVariable(); in genVertexPassthrough()
120 createAssignment(shader.getMain().getBody(), entry->getVariable(), inVar); in genVertexPassthrough()
130 …Variable* inColorVariable = state.getVariableManager().allocate(fragColorEntry->getVariable()->get… in genFragmentPassthrough()
133 createAssignment(shader.getMain().getBody(), fragColorEntry->getVariable(), inColorVariable); in genFragmentPassthrough()
166 if (!(*i)->getVariable()->getType().isSampler()) // Samplers are assigned at program-level. in fillUndefinedShaderInputs()
197 …e.getVariableManager().allocate(input->getVariable()->getType(), Variable::STORAGE_SHADER_OUT, inp… in generate()
DrsgProgramGenerator.cpp78 if ((*i)->getVariable()->getType().isSampler()) in generate()
84 if ((*i)->getVariable()->getType().isSampler()) in generate()
92 if (input->getVariable()->getType().isSampler()) in generate()
DrsgProgramExecutor.cpp230 execCtx.getValue(uniformIter->getVariable()) = uniformIter->getValue().value(); in execute()
241 ExecValueAccess access = execCtx.getValue(input->getVariable()); in execute()
283 execCtx.getValue(i->getVariable()) = i->getValue().value(); in execute()
317 ExecValueAccess access = execCtx.getValue(input->getVariable()); in execute()
318 const VariableType& type = input->getVariable()->getType(); in execute()
319 const VaryingStorage* src = varyingStore.getStorage(type, input->getVariable()->getName()); in execute()
DrsgVariableManager.hpp49 const Variable* getVariable (void) const { return m_variable; } in getVariable() function in rsg::ValueEntry
304 switch (entry->getVariable()->getStorage()) in operator ()()
327 return entry->getVariable()->getStorage() == Storage; in operator ()()
DrsgVariableManager.cpp185 return entry->getVariable() == m_variable; in operator ==()
448 oldValues[(*valueIter)->getVariable()] = *valueIter; in popValueScope()
461 const Variable* var = entry->getVariable(); in popValueScope()
496 const Variable* var = oldEntry->getVariable(); in popValueScope()
DrsgUtils.cpp42 if (addedUniforms.find(uniform->getVariable()->getName()) == addedUniforms.end()) in addNewUniforms()
44 addedUniforms.insert(uniform->getVariable()->getName()); in addNewUniforms()
120 values.push_back(VariableValue(uniform->getVariable())); in computeUniformValues()
DrsgShader.hpp70 const Variable* getVariable (void) const { return m_variable; } in getVariable() function in rsg::ShaderInput
DrsgExpression.cpp51 if ((m_exprFlags & CONST_EXPR) && (entry->getVariable()->getStorage() != Variable::STORAGE_CONST)) in operator ()()
103 entry->getVariable()->getType() == m_valueRange.getType() && in operator ()()
124 entry->getVariable()->getType() == m_valueRange.getType() && in operator ()()
145 if (entry->getVariable()->getType() == VariableType(m_type, 1)) in operator ()()
147 DE_ASSERT(entry->getVariable()->getStorage() == Variable::STORAGE_UNIFORM); in operator ()()
1127 …e.getVariableManager().getBegin(filter), state.getVariableManager().getEnd(filter))->getVariable(); in VariableRead()
1158 m_variable = entry->getVariable(); in VariableRead()
1212 m_variable = entry->getVariable(); in VariableWrite()
1499 state.getVariableManager().getEnd(IsSamplerEntry(samplerType)))->getVariable(); in TexLookup()
/third_party/vk-gl-cts/modules/glshared/
DglsRandomShaderProgram.cpp78 …sglr::pdec::VertexAttribute(vertexInput->getVariable()->getName(), mapToGenericVecType(vertexInput… in generateProgramDeclaration()
84 …decl << sglr::pdec::VertexToFragmentVarying(mapToGenericVecType(fragInput->getVariable()->getType(… in generateProgramDeclaration()
90 …decl << sglr::pdec::Uniform(uniform->getVariable()->getName(), mapToBasicType(uniform->getVariable in generateProgramDeclaration()
148 …const rsg::Variable* vertexOutput = findShaderOutputByName(vertexShader, fragInput->getVariable()-… in RandomShaderProgram()
161 const rsg::Variable* uniformVar = m_unifiedUniforms[uniformNdx]->getVariable(); in refreshUniforms()
183 const rsg::Variable* attribVar = m_vertexShader.getInputs()[attribNdx]->getVariable(); in shadeVertices()
262 const rsg::Variable* var = m_fragmentShader.getInputs()[varNdx]->getVariable(); in shadeFragments()
DglsRandomShaderCase.cpp80 , m_vertices (input->getVariable()->getType().getNumElements() * numVertices) in VertexArray()
161 int numComponents = input->getVariable()->getType().getNumElements(); in init()
163 bool isPosition = string(input->getVariable()->getName()) == "dEQP_Position"; in init()
165 TCU_CHECK(input->getVariable()->getType().getBaseType() == rsg::VariableType::TYPE_FLOAT); in init()
224 const rsg::VariableType& type = uniformIter->getVariable()->getType(); in init()
246 if ((*it)->getVariable()->getType().isSampler()) in getNumSamplerUniforms()
507 …GLint location = glGetUniformLocation(program.getProgram(), uniformIter->getVariable()->getName()); in iterate()
509 …log << tcu::TestLog::Message << "uniform[" << location << "]: " << uniformIter->getVariable()->get… in iterate()
DglsRandomShaderCase.hpp52 const char* getName (void) const { return m_input->getVariable()->getName(); } in getName()
53 …int getNumComponents (void) const { return m_input->getVariable()->getType().getNumElements(… in getNumComponents()
DglsFragOpInteractionCase.cpp88 const rsg::Variable* var = attrib->getVariable(); in computeVertexLayout()
369 if (deStringEqual(vars[ndx]->getVariable()->getName(), name)) in findShaderInputIndex()
540 const rsg::VariableType& varType = shaderIn->getVariable()->getType(); in iterate()
599 …setUniformValue(ctx, ctx.getUniformLocation(program, uniformIter->getVariable()->getName()), unifo… in iterate()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelProgram.cpp152 routine.getVariable(it->second.Id)[it->second.FirstComponent] = As<Float4>(frontFacing); in executeShader()
167 routine.getVariable(it->second.Id)[it->second.FirstComponent] = As<Float4>(inputSampleMask); in executeShader()
172 routine.getVariable(it->second.Id)[it->second.FirstComponent + i] = Float4(0); in executeShader()
181 routine.getVariable(it->second.Id)[it->second.FirstComponent] = in executeShader()
190 routine.getVariable(it->second.Id)[it->second.FirstComponent + 0] = in executeShader()
192 routine.getVariable(it->second.Id)[it->second.FirstComponent + 1] = in executeShader()
232 …auto outputSampleMask = As<SIMD::Int>(routine.getVariable(it->second.Id)[it->second.FirstComponent… in executeShader()
245 z[q] = routine.getVariable(it->second.Id)[it->second.FirstComponent]; in executeShader()
DSpirvShaderMemory.cpp134 auto base = &routine->getVariable(resultId)[0]; in EmitVariable()
152 auto &dst = routine->getVariable(resultId); in EmitVariable()
161 auto base = &routine->getVariable(resultId)[0]; in EmitVariable()
DVertexProgram.cpp78 routine.getVariable(it->second.Id)[it->second.FirstComponent] = in program()
DVertexRoutine.cpp121 auto &pos = routine.getVariable(it->second.Id); in computeClipFlags()
164 auto const &distance = routine.getVariable(it->second.Id)[it->second.FirstComponent + i]; in computeCullMask()
591 auto &position = routine.getVariable(it->second.Id); in writeCache()
633 auto psize = routine.getVariable(it->second.Id)[it->second.FirstComponent]; in writeCache()
647 auto dist = routine.getVariable(it->second.Id)[it->second.FirstComponent + i]; in writeCache()
661 auto dist = routine.getVariable(it->second.Id)[it->second.FirstComponent + i]; in writeCache()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveDebugValues.cpp384 dbgs() << ", \"" << Var.getVariable()->getName() << "\", " << *Expr in dump()
637 auto MapIt = OverlappingFragments.find({Var.getVariable(), ThisFragment}); in erase()
643 DoErase({Var.getVariable(), FragmentHolder, Var.getInlinedAt()}); in erase()
694 Out << " Var: " << VL.Var.getVariable()->getName(); in printVarLocInMBB()
831 if (!VarLocIDs[ID].Var.getVariable()->isParameter()) in emitEntryValues()
1096 << VarLocIDs[ID].Var.getVariable()->getName() << ")\n"); in transferSpillOrRestoreInst()
1101 << VarLocIDs[ID].Var.getVariable()->getName() << ")\n"); in transferSpillOrRestoreInst()
1221 auto SeenIt = SeenFragments.find(MIVar.getVariable()); in accumulateFragmentMap()
1225 SeenFragments.insert({MIVar.getVariable(), OneFragment}); in accumulateFragmentMap()
1227 OverlappingFragments.insert({{MIVar.getVariable(), ThisFragment}, {}}); in accumulateFragmentMap()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.h169 const DILocalVariable *getVariable() const { in getVariable() function
182 StringRef getName() const { return getVariable()->getName(); } in getName()
192 if (getVariable()->isParameter()) in getTag()
200 if (getVariable()->isArtificial()) in isArtificial()
208 if (getVariable()->isObjectPointer()) in isObjectPointer()
DDwarfFile.cpp106 const DILocalVariable *DV = Var->getVariable(); in addScopeVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceCfgNode.cpp725 Liveness->getVariable(i, this)->dump(Func); in liveness()
789 << Liveness->getVariable(Start->first, this)->getName() << "\n"; in livenessValidateIntervals()
798 << Liveness->getVariable(Start->first, this)->getName() << "\n"; in livenessValidateIntervals()
849 Variable *Var = Liveness->getVariable(i, this); in livenessAddIntervals()
869 Variable *Var = Liveness->getVariable(i, this); in livenessAddIntervals()
972 Variable *Var = Liveness->getVariable(i, Node); in emitRegisterUsage()
1179 Variable *Var = Liveness->getVariable(i, this); in dump()
1205 Variable *Var = Liveness->getVariable(i, this); in dump()
DIceLiveness.h72 Variable *getVariable(SizeT LiveIndex, const CfgNode *Node) const;
DIceLiveness.cpp135 Variable *Liveness::getVariable(SizeT LiveIndex, const CfgNode *Node) const { in getVariable() function in Ice::Liveness
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DModuleDebugInfoPrinter.cpp94 const auto *GV = GVU->getVariable(); in print()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DDebugify.cpp186 auto Signedness = DVI->getVariable()->getSignedness(); in diagnoseMisSizedDbgValue()
261 (void)to_integer(DVI->getVariable()->getName(), Var, 10); in checkDebugifyMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSDNodeDbgValue.h93 DIVariable *getVariable() const { return Var; } in getVariable() function

123