/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cSparseTextureClampTests.cpp | 349 replaceToken("<COORD_TYPE>", s.coordType.c_str(), vertex); in verifyLookupTextureData() 351 replaceToken("<FUNCTION>", f.name.c_str(), fragment); in verifyLookupTextureData() 352 replaceToken("<ARGUMENTS>", f.arguments.c_str(), fragment); in verifyLookupTextureData() 354 replaceToken("<OUTPUT_TYPE>", s.outputType.c_str(), fragment); in verifyLookupTextureData() 355 replaceToken("<INPUT_TYPE>", s.inputType.c_str(), fragment); in verifyLookupTextureData() 356 replaceToken("<SIZE_DEF>", s.sizeDef.c_str(), fragment); in verifyLookupTextureData() 357 replaceToken("<LOD>", s.lod.c_str(), fragment); in verifyLookupTextureData() 358 replaceToken("<LOD_DEF>", s.lodDef.c_str(), fragment); in verifyLookupTextureData() 359 replaceToken("<COORD_TYPE>", s.coordType.c_str(), fragment); in verifyLookupTextureData() 360 replaceToken("<ICOORD_TYPE>", s.iCoordType.c_str(), fragment); in verifyLookupTextureData() [all …]
|
D | gl3cGPUShader5Tests.cpp | 311 void Utils::replaceToken(const glw::GLchar* token, size_t& search_position, const glw::GLchar* text, in replaceToken() function in gl3cts::Utils 623 Utils::replaceToken("SOURCE_TYPE", search_position, source_type, vs_body); in getVertexShader() 624 Utils::replaceToken("SOURCE_TYPE", search_position, source_type, vs_body); in getVertexShader() 627 Utils::replaceToken("DESTINATION_TYPE", search_position, destination_type, vs_body); in getVertexShader() 628 Utils::replaceToken("DESTINATION_TYPE", search_position, destination_type, vs_body); in getVertexShader() 633 Utils::replaceToken("ZERO", search_position, "0", vs_body); in getVertexShader() 634 Utils::replaceToken("ZERO", search_position, "0", vs_body); in getVertexShader() 638 Utils::replaceToken("ZERO", search_position, "0.0", vs_body); in getVertexShader() 639 Utils::replaceToken("ZERO", search_position, "0.0", vs_body); in getVertexShader() 643 Utils::replaceToken("ZERO", search_position, "ivec2(0,0)", vs_body); in getVertexShader() [all …]
|
D | gl4cSparseTexture2Tests.cpp | 267 void replaceToken(const GLchar* token, const GLchar* text, std::string& string) in replaceToken() function 304 replaceToken("<EXTENSION>", mExtension.c_str(), shader); in iterate() 1073 replaceToken("<INPUT_TYPE>", s.inputType.c_str(), shader); in writeDataToTexture() 1074 replaceToken("<POINT_TYPE>", s.pointType.c_str(), shader); in writeDataToTexture() 1075 replaceToken("<POINT_DEF>", s.pointDef.c_str(), shader); in writeDataToTexture() 1076 replaceToken("<RETURN_TYPE>", s.returnType.c_str(), shader); in writeDataToTexture() 1077 replaceToken("<RESULT_EXPECTED>", s.resultExpected.c_str(), shader); in writeDataToTexture() 1078 replaceToken("<SAMPLE_DEF>", s.sampleDef.c_str(), shader); in writeDataToTexture() 1266 replaceToken("<OUTPUT_TYPE>", s.outputType.c_str(), shader); in verifyTextureData() 1267 replaceToken("<FORMAT>", s.format.c_str(), shader); in verifyTextureData() [all …]
|
D | gl4cShadingLanguage420PackTests.cpp | 292 Utils::replaceToken(token_qual_list, position, qualifier_list, list); in getQualifiersListString() 297 Utils::replaceToken(token_qualifier, position, qualifier_str, list); in getQualifiersListString() 300 Utils::replaceToken(token_qual_list, position, "", list); in getQualifiersListString() 974 Utils::replaceToken(token_qual_list, position, list.c_str(), variable_definition); in getBlockVariableDefinition() 975 Utils::replaceToken(token_type, position, type_name, variable_definition); in getBlockVariableDefinition() 976 Utils::replaceToken(token_variable_name, position, variable_name, variable_definition); in getBlockVariableDefinition() 1025 replaceToken(token_variable_name, position, variable_name, variable_definition); in getBlockVariableReference() 1074 replaceToken(token_qual_list, position, list.c_str(), variable_definition); in getVariableDefinition() 1075 replaceToken(token_type, position, type_name, variable_definition); in getVariableDefinition() 1076 replaceToken(token_variable_name, position, variable_name, variable_definition); in getVariableDefinition() [all …]
|
D | gl4cGlSpirvTests.cpp | 118 void replaceToken(const GLchar* token, const GLchar* text, std::string& string) in replaceToken() function 1256 commonUtils::replaceToken("<ATANGENT>", "atan(tmp0, tmp0)", strATan); in init() 1257 commonUtils::replaceToken("<ATANGENT>", "atan(tmp0)", strATan2); in init() 1331 commonUtils::replaceToken("<BITS_TO_FLOAT>", "intBitsToFloat(ival)", strIntBits); in init() 1332 commonUtils::replaceToken("<BITS_TO_FLOAT>", "uintBitsToFloat(uval)", strUIntBits); in init() 1494 commonUtils::replaceToken("<TEXTURE>", "texture(tex2D, vec2(0.0))", strTexture); in init() 1495 commonUtils::replaceToken("<TEXTURE>", "textureProj(tex2D, vec3(0.0))", strTextureProj); in init() 1496 commonUtils::replaceToken("<TEXTURE>", "textureGather(tex2D, vec2(0.0), 0)", strTextureGather); in init() 1600 commonUtils::replaceToken("<EMIT>", "EmitVertex()", strEmit); in init() 1601 commonUtils::replaceToken("<EMIT>", "EmitStreamVertex(0)", strEmitStream); in init() [all …]
|
D | gl4cEnhancedLayoutsTests.cpp | 1581 void replaceToken(const GLchar* token, size_t& search_position, const GLchar* text, std::string& st… in replaceToken() function 1680 replaceToken("SEPARATOR", search_position, separator, string); in insertElementOfList() 1687 replaceToken("LIST", search_position, "ELEMENTSEPARATORLIST", string); in insertElementOfList() 1693 replaceToken("ELEMENT", search_position, element, string); in insertElementOfList() 1709 replaceToken("SEPARATOR", search_position, separator, string); in endList() 1712 replaceToken("LIST", search_position, "", string); in endList() 4086 replaceToken("QUALIFIERS ", position, "", definition); in GetDefinition() 4090 replaceToken("QUALIFIERS", position, m_qualifiers.c_str(), definition); in GetDefinition() 4126 replaceToken("STORAGE", position, storage_str, definition); in GetDefinition() 4131 replaceToken("TYPE", position, m_builtin.GetGLSLTypeName(), definition); in GetDefinition() [all …]
|
D | gl4cMultiBindTests.cpp | 1388 void replaceToken(const GLchar* token, size_t& search_position, const GLchar* text, std::string& st… 1517 replaceToken("IMAGE", position, image, source); in fillMSTexture() 1518 replaceToken("POINT", position, point, source); in fillMSTexture() 1593 void replaceToken(const GLchar* token, size_t& search_position, const GLchar* text, std::string& st… in replaceToken() function 3460 replaceToken("UBO_LIST", ubo_position, "UBO\nUBO_LIST", cs_source); in iterate() 3463 replaceToken("UBO", ubo_position, ubo, cs_source); in iterate() 3466 replaceToken("XXX", ubo_position, index, cs_source); in iterate() 3467 replaceToken("XXX", ubo_position, index, cs_source); in iterate() 3468 replaceToken("XXX", ubo_position, index, cs_source); in iterate() 3471 replaceToken("SUM_LIST", sum_position, "bXXX.data + SUM_LIST", cs_source); in iterate() [all …]
|
D | gl3cTextureSwizzleTests.cpp | 2149 void Utils::replaceToken(const glw::GLchar* token, size_t& search_position, const glw::GLchar* text, in replaceToken() function in gl3cts::TextureSwizzle::Utils 2810 Utils::replaceToken("PREFIX", position, source_format.m_sampler.m_sampler_prefix, fs); in getFragmentShader() 2811 Utils::replaceToken("SAMPLER_TYPE", position, target.m_sampler_type, fs); in getFragmentShader() 2812 Utils::replaceToken("BASIC_TYPE", position, output_format.m_sampler.m_basic_type, fs); in getFragmentShader() 2813 Utils::replaceToken("BASIC_TYPE", position, source_format.m_sampler.m_basic_type, fs); in getFragmentShader() 2814 Utils::replaceToken("TEXTURE_ACCESS", position, access.m_name, fs); in getFragmentShader() 2815 Utils::replaceToken("ARGUMENTS", position, arguments.c_str(), fs); in getFragmentShader() 2816 Utils::replaceToken("CHANNEL", position, channel, fs); in getFragmentShader() 2822 Utils::replaceToken("BASIC_TYPE", position, source_format.m_sampler.m_basic_type, fs); in getFragmentShader() 2823 Utils::replaceToken("BASIC_TYPE", position, output_format.m_sampler.m_basic_type, fs); in getFragmentShader() [all …]
|
D | gl4cStencilTexturingTests.cpp | 62 …static void replaceToken(const GLchar* token, size_t& search_position, const GLchar* text, std::st… 376 void Utils::replaceToken(const GLchar* token, size_t& search_position, const GLchar* text, std::str… in replaceToken() function in gl4cts::StencilTexturing::Utils 881 Utils::replaceToken("IMAGE_DEFINITION", position, image_definition, cs_code); in prepareProgram() 882 Utils::replaceToken("SAMPLER_DEFINITION", position, sampler_definition, cs_code); in prepareProgram() 883 Utils::replaceToken("TYPE", position, type, cs_code); in prepareProgram() 916 Utils::replaceToken("TYPE", position, type, shader_code[i]); in prepareProgram() 917 Utils::replaceToken("SAMPLER_DEFINITION", position, sampler_definition, shader_code[i]); in prepareProgram() 922 Utils::replaceToken("SAMPLER_DEFINITION", position, sampler_definition, shader_code[i]); in prepareProgram() 923 Utils::replaceToken("EXPECTED_VALUE", position, expected_value, shader_code[i]); in prepareProgram()
|
D | gl3cGPUShader5Tests.hpp | 86 …static void replaceToken(const glw::GLchar* token, size_t& search_position, const glw::GLchar* tex…
|
D | gl3cTextureSwizzleTests.hpp | 65 …static void replaceToken(const glw::GLchar* token, size_t& search_position, const glw::GLchar* tex…
|
D | gl4cGPUShaderFP64Tests.cpp | 1566 void Utils::replaceToken(const glw::GLchar* token, size_t& search_position, const glw::GLchar* text, in replaceToken() function in gl4cts::Utils 3708 Utils::replaceToken(layout_token, search_position, stage_specific_layout, string); in prepareBoilerplateShader() 3709 Utils::replaceToken(body_token, search_position, stage_specific_main_body, string); in prepareBoilerplateShader() 4030 Utils::replaceToken(layout_token, search_position, stage_specific_layout, string); in prepareTestShader() 4031 Utils::replaceToken(uni_def_token, search_position, uniform_definitions, string); in prepareTestShader() 4032 Utils::replaceToken(in_var_token, search_position, in_variable_definitions, string); in prepareTestShader() 4033 Utils::replaceToken(out_var_token, search_position, out_variable_definitions, string); in prepareTestShader() 4034 Utils::replaceToken(uni_ver_token, search_position, uniform_verification, string); in prepareTestShader() 4035 Utils::replaceToken(body_token, search_position, stage_specific_main_body, string); in prepareTestShader() 4081 Utils::replaceToken(uni_def_token, search_position, uniform_definitions, string); in prepareTestComputeShader() [all …]
|
D | gl4cSparseTexture2Tests.hpp | 280 void replaceToken(const GLchar* token, const GLchar* text, std::string& string);
|
D | gl4cGPUShaderFP64Tests.hpp | 155 …static void replaceToken(const glw::GLchar* token, size_t& search_position, const glw::GLchar* tex…
|
D | gl4cShadingLanguage420PackTests.hpp | 442 …static void replaceToken(const glw::GLchar* token, size_t& search_position, const glw::GLchar* tex…
|
D | gl4cEnhancedLayoutsTests.hpp | 987 void replaceToken(const glw::GLchar* token, size_t& search_position, const glw::GLchar* text, std::…
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcTextureFilterAnisotropicTests.cpp | 60 void replaceToken(const GLchar* token, const GLchar* text, std::string& str) in replaceToken() function 628 TextureFilterAnisotropicUtils::replaceToken("<TEXCOORD_TYPE>", texCoordType.c_str(), vertexShader); in drawTexture() 629 …TextureFilterAnisotropicUtils::replaceToken("<TEXCOORD_TYPE>", texCoordType.c_str(), fragmentShade… in drawTexture() 630 TextureFilterAnisotropicUtils::replaceToken("<SAMPLER_TYPE>", samplerType.c_str(), vertexShader); in drawTexture() 631 TextureFilterAnisotropicUtils::replaceToken("<SAMPLER_TYPE>", samplerType.c_str(), fragmentShader); in drawTexture() 635 TextureFilterAnisotropicUtils::replaceToken("<VERSION>", "130", vertexShader); in drawTexture() 636 TextureFilterAnisotropicUtils::replaceToken("<VERSION>", "130", fragmentShader); in drawTexture() 640 TextureFilterAnisotropicUtils::replaceToken("<VERSION>", "300 es", vertexShader); in drawTexture() 641 TextureFilterAnisotropicUtils::replaceToken("<VERSION>", "300 es", fragmentShader); in drawTexture()
|
D | glcRobustBufferAccessBehaviorTests.hpp | 39 void replaceToken(const glw::GLchar* token, size_t& search_position, const glw::GLchar* text, std::…
|