Lines Matching refs:rsg
79 static void computeVertexLayout (const vector<rsg::ShaderInput*>& attributes, int numVertices, vect… in computeVertexLayout()
85 …for (vector<rsg::ShaderInput*>::const_iterator iter = attributes.begin(); iter != attributes.end()… in computeVertexLayout()
87 const rsg::ShaderInput* attrib = *iter; in computeVertexLayout()
88 const rsg::Variable* var = attrib->getVariable(); in computeVertexLayout()
89 const rsg::VariableType& type = var->getType(); in computeVertexLayout()
92 …TCU_CHECK_INTERNAL(type.getBaseType() == rsg::VariableType::TYPE_FLOAT && de::inRange(type.getNumE… in computeVertexLayout()
108 VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices);
124 VertexDataStorage::VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices) in VertexDataStorage()
157 static tcu::Vector<float, Size> interpolateRange (const rsg::ConstValueRangeAccess& range, const tc… in interpolateRange()
328 void setUniformValue (sglr::Context& ctx, int location, rsg::ConstValueAccess value) in setUniformValue()
330 DE_STATIC_ASSERT(sizeof(rsg::Scalar) == sizeof(float)); in setUniformValue()
331 DE_STATIC_ASSERT(sizeof(rsg::Scalar) == sizeof(int)); in setUniformValue()
335 case rsg::VariableType::TYPE_FLOAT: in setUniformValue()
346 case rsg::VariableType::TYPE_INT: in setUniformValue()
347 case rsg::VariableType::TYPE_BOOL: in setUniformValue()
348 case rsg::VariableType::TYPE_SAMPLER_2D: in setUniformValue()
349 case rsg::VariableType::TYPE_SAMPLER_CUBE: in setUniformValue()
365 static int findShaderInputIndex (const vector<rsg::ShaderInput*>& vars, const char* name) in findShaderInputIndex()
437 …ntext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const rsg::ProgramParameters&… in FragOpInteractionCase()
442 , m_vertexShader (rsg::Shader::TYPE_VERTEX) in FragOpInteractionCase()
443 , m_fragmentShader (rsg::Shader::TYPE_FRAGMENT) in FragOpInteractionCase()
466 rsg::ProgramGenerator generator; in init()
469 rsg::computeUnifiedUniforms(m_vertexShader, m_fragmentShader, m_unifiedUniforms); in init()
518 std::vector<rsg::VariableValue> uniformValues; in iterate()
532 rsg::computeUniformValues(rnd, uniformValues, m_unifiedUniforms); in iterate()
539 const rsg::ShaderInput* shaderIn = m_vertexShader.getInputs()[attribNdx]; in iterate()
540 const rsg::VariableType& varType = shaderIn->getVariable()->getType(); in iterate()
541 const rsg::ConstValueRangeAccess valueRange = shaderIn->getValueRange(); in iterate()
545 DE_ASSERT(varType.getBaseType() == rsg::VariableType::TYPE_FLOAT); in iterate()
598 …for (vector<rsg::VariableValue>::const_iterator uniformIter = uniformValues.begin(); uniformIter !… in iterate()