Home
last modified time | relevance | path

Searched refs:valueBlock (Results 1 – 7 of 7) sorted by relevance

/external/deqp/external/openglcts/modules/common/
DglcShaderLibraryCase.cpp94 const ValueBlock& valueBlock = m_valueBlocks[0]; in ShaderCase() local
102 specializeShaders(vertexSource, fragmentSource, m_vertexSource, m_fragmentSource, valueBlock); in ShaderCase()
107 m_vertexSource = specializeVertexShader(vertexSource, valueBlock); in ShaderCase()
108 m_fragmentSource = genFragmentShader(valueBlock); in ShaderCase()
114 m_vertexSource = genVertexShader(valueBlock); in ShaderCase()
115 m_fragmentSource = specializeFragmentShader(fragmentSource, valueBlock); in ShaderCase()
362 const ValueBlock& valueBlock = m_valueBlocks[blockNdx]; in execute() local
365 for (int arrayNdx = 0; arrayNdx < valueBlock.arrayLength; arrayNdx++) in execute()
367 int numValues = (int)valueBlock.values.size(); in execute()
378 const ShaderCase::Value& val = valueBlock.values[valNdx]; in execute()
[all …]
DglcShaderLibraryCase.hpp131 std::string genVertexShader(const ValueBlock& valueBlock);
132 std::string genFragmentShader(const ValueBlock& valueBlock);
133 std::string specializeVertexShader(const char* src, const ValueBlock& valueBlock);
134 std::string specializeFragmentShader(const char* src, const ValueBlock& valueBlock);
137 std::string& outFragmentSource, const ValueBlock& valueBlock);
139 void dumpValues(const ValueBlock& valueBlock, int arrayNdx);
DglcShaderLibrary.cpp178 void parseValue(ShaderCase::ValueBlock& valueBlock);
179 void parseValueBlock(ShaderCase::ValueBlock& valueBlock);
804 void ShaderParser::parseValue(ShaderCase::ValueBlock& valueBlock) in parseValue() argument
875 valueBlock.values.push_back(result); in parseValue()
878 void ShaderParser::parseValueBlock(ShaderCase::ValueBlock& valueBlock) in parseValueBlock() argument
887 parseValue(valueBlock); in parseValueBlock()
898 for (int valueNdx = 0; valueNdx < (int)valueBlock.values.size(); valueNdx++) in parseValueBlock()
900 const ShaderCase::Value& val = valueBlock.values[valueNdx]; in parseValueBlock()
907 valueBlock.arrayLength = arrayLength; in parseValueBlock()
/external/deqp/framework/opengl/
DgluShaderLibrary.cpp382 void parseValue (ValueBlock& valueBlock);
383 void parseValueBlock (ValueBlock& valueBlock);
988 void ShaderParser::parseValue (ValueBlock& valueBlock) in parseValue() argument
999 dstBlock = &valueBlock.uniforms; in parseValue()
1001 dstBlock = &valueBlock.inputs; in parseValue()
1003 dstBlock = &valueBlock.outputs; in parseValue()
1069 void ShaderParser::parseValueBlock (ValueBlock& valueBlock) in parseValueBlock() argument
1078 parseValue(valueBlock); in parseValueBlock()
1355 ValueBlock valueBlock; in parseShaderCase() local
1387 parseValueBlock(valueBlock); in parseShaderCase()
[all …]
DgluShaderLibrary.hpp223 void genCompareFunctions (std::ostringstream& stream, const ValueBlock& valueBlock, bool useFlo…
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp192 …reOp (ostringstream& output, const char* dstVec4Var, const ValueBlock& valueBlock, const char* non… in genCompareOp() argument
196 for (size_t ndx = 0; ndx < valueBlock.outputs.size(); ndx++) in genCompareOp()
198 const Value& val = valueBlock.outputs[ndx]; in genCompareOp()
422 static void generateUniformDeclarations (std::ostream& dst, const ValueBlock& valueBlock) in generateUniformDeclarations() argument
424 for (size_t ndx = 0; ndx < valueBlock.uniforms.size(); ndx++) in generateUniformDeclarations()
426 const Value& val = valueBlock.uniforms[ndx]; in generateUniformDeclarations()
1178 const ValueBlock& valueBlock = m_spec.values; in execute() local
1181 …const int numRenderPasses = valueBlock.outputs.empty() ? 1 : (int)valueBlock.outputs[0].elements… in execute()
1188 vector<vector<float> > attribValues (valueBlock.inputs.size()); in execute()
1197 for (size_t valNdx = 0; valNdx < valueBlock.inputs.size(); valNdx++) in execute()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp126 void declareReferenceBlock (ostringstream& out, const ValueBlock& valueBlock) in declareReferenceBlock() argument
128 if (!valueBlock.outputs.empty()) in declareReferenceBlock()
129 genUniformBlock(out, "Reference", "ref", 0, REFERENCE_UNIFORM_BINDING, valueBlock.outputs); in declareReferenceBlock()
132 void declareUniforms (ostringstream& out, const ValueBlock& valueBlock) in declareUniforms() argument
134 if (!valueBlock.uniforms.empty()) in declareUniforms()
135 genUniformBlock(out, "Uniforms", "", 0, USER_UNIFORM_BINDING, valueBlock.uniforms); in declareUniforms()
204 void genCompareOp (ostringstream& output, const char* dstVec4Var, const ValueBlock& valueBlock, con… in genCompareOp() argument
208 for (size_t ndx = 0; ndx < valueBlock.outputs.size(); ndx++) in genCompareOp()
210 const Value& val = valueBlock.outputs[ndx]; in genCompareOp()