/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderLibraryCase.cpp | 94 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 in execute() 522 genVertexShader(const ValueBlock& valueBlock) genVertexShader() argument 576 genCompareFunctions(ostringstream& stream, const ShaderCase::ValueBlock& valueBlock, bool useFloatTypes) genCompareFunctions() argument 687 genCompareOp(ostringstream& output, const char* dstVec4Var, const ShaderCase::ValueBlock& valueBlock, const char* nonFloatNamePrefix, const char* checkVarName) genCompareOp() argument 727 genFragmentShader(const ValueBlock& valueBlock) genFragmentShader() argument 780 specializeVertexShader(const char* src, const ValueBlock& valueBlock) specializeVertexShader() argument 840 specializeFragmentShader(const char* src, const ValueBlock& valueBlock) specializeFragmentShader() argument 900 specializeShaders(const char* vertexSource, const char* fragmentSource, string& outVertexSource, string& outFragmentSource, const ValueBlock& valueBlock) specializeShaders() argument 986 dumpValues(const ValueBlock& valueBlock, int arrayNdx) dumpValues() argument [all...] |
H A D | glcShaderLibraryCase.hpp | 130 std::string genVertexShader(const ValueBlock& valueBlock); 131 std::string genFragmentShader(const ValueBlock& valueBlock); 132 std::string specializeVertexShader(const char* src, const ValueBlock& valueBlock); 133 std::string specializeFragmentShader(const char* src, const ValueBlock& valueBlock); 136 std::string& outFragmentSource, const ValueBlock& valueBlock); 138 void dumpValues(const ValueBlock& valueBlock, int arrayNdx);
|
H A D | glcShaderLibrary.cpp | 178 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()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderLibraryCase.cpp | 192 static void genCompareOp (ostringstream& output, const char* dstVec4Var, const ValueBlock& valueBlock, const char* nonFloatNamePrefix, const char* checkVarName) 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() 1194 const ValueBlock& valueBlock = m_spec.values; 1197 const int numRenderPasses = valueBlock.outputs.empty() ? 1 : (int)valueBlock.outputs[0].elements.size() / valueBlock [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluShaderLibrary.cpp | 382 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() 1066 void ShaderParser::parseValueBlock (ValueBlock& valueBlock) in parseValueBlock() argument 1075 parseValue(valueBlock); in parseValueBlock() 1352 ValueBlock valueBlock; in parseShaderCase() local 1384 parseValueBlock(valueBlock); in parseShaderCase() 1763 genCompareFunctions(ostringstream& stream, const ValueBlock& valueBlock, bool useFloatTypes) genCompareFunctions() argument [all...] |
H A D | gluShaderLibrary.hpp | 223 void genCompareFunctions (std::ostringstream& stream, const ValueBlock& valueBlock, bool useFloatTypes);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktShaderLibrary.cpp | 126 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, const char* checkVarName) 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()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
H A D | vktShaderLibrary.cpp | 126 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, const char* checkVarName) 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()
|