Home
last modified time | relevance | path

Searched refs:shaderTemplate (Results 1 – 25 of 34) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DTextureFunction_test.cpp32 const std::string &shaderTemplate = in TEST_F() local
56 size_t sampleReplacePos = shaderTemplate.find("{sample}"); in TEST_F()
65 std::string shaderValid = shaderTemplate; in TEST_F()
77 std::string shaderNonConst = shaderTemplate; in TEST_F()
89 std::string shaderOutOfBounds = shaderTemplate; in TEST_F()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DTextureFunction_test.cpp32 const std::string &shaderTemplate = in TEST_F() local
56 size_t sampleReplacePos = shaderTemplate.find("{sample}"); in TEST_F()
65 std::string shaderValid = shaderTemplate; in TEST_F()
77 std::string shaderNonConst = shaderTemplate; in TEST_F()
89 std::string shaderOutOfBounds = shaderTemplate; in TEST_F()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmEmptyStructTests.cpp67 const tcu::StringTemplate shaderTemplate( in addCopyingComputeGroup() local
221 spec.assembly = shaderTemplate.specialize(specializationMap); in addCopyingComputeGroup()
340 const tcu::StringTemplate shaderTemplate( in addFunctionArgumentReturnValueGroup() local
544 spec.assembly = shaderTemplate.specialize(specializationMap); in addFunctionArgumentReturnValueGroup()
DvktSpvAsmVariablePointersTests.cpp354 const StringTemplate shaderTemplate (stringTemplate); in addPhysicalOrVariablePointersComputeGroup() local
390 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
414 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
446 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
473 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
506 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
543 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
570 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
614 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
952 const StringTemplate shaderTemplate (stringTemplate); in addComplexTypesPhysicalOrVariablePointersComputeGroup() local
[all …]
DvktSpvAsm8bitStorageTests.cpp122 int getStructSize(const ShaderTemplate shaderTemplate) in getStructSize() argument
124 switch (shaderTemplate) in getStructSize()
946 const StringTemplate shaderTemplate ( in addCompute8bitStorage32To8Group() local
1085 spec.assembly = shaderTemplate.specialize(specs); in addCompute8bitStorage32To8Group()
1105 const StringTemplate shaderTemplate ( in addCompute8bitUniform8To32Group() local
1237 spec.assembly = shaderTemplate.specialize(specs); in addCompute8bitUniform8To32Group()
1263 const StringTemplate shaderTemplate ( in addCompute8bitStoragePushConstant8To32Group() local
1402 spec.assembly = shaderTemplate.specialize(specs); in addCompute8bitStoragePushConstant8To32Group()
1425 const StringTemplate shaderTemplate ( in addCompute8bitStorage16To8Group() local
1561 spec.assembly = shaderTemplate.specialize(specs); in addCompute8bitStorage16To8Group()
[all …]
DvktSpvAsm16bitStorageTests.cpp164 int getStructSize(const ShaderTemplate shaderTemplate) in getStructSize() argument
166 switch (shaderTemplate) in getStructSize()
1155 const StringTemplate shaderTemplate ( in addCompute16bitStorageUniform16To32Group() local
1341 spec.assembly = shaderTemplate.specialize(specs); in addCompute16bitStorageUniform16To32Group()
1476 spec.assembly = shaderTemplate.specialize(specs); in addCompute16bitStorageUniform16To32Group()
1526 const StringTemplate shaderTemplate ( in addCompute16bitStorageUniform16To32ChainAccessGroup() local
1686 spec.assembly = shaderTemplate.specialize(specs); in addCompute16bitStorageUniform16To32ChainAccessGroup()
1704 const StringTemplate shaderTemplate ( in addCompute16bitStoragePushConstant16To32Group() local
1856 spec.assembly = shaderTemplate.specialize(specs); in addCompute16bitStoragePushConstant16To32Group()
1970 spec.assembly = shaderTemplate.specialize(specs); in addCompute16bitStoragePushConstant16To32Group()
[all …]
DvktSpvAsmInstructionTests.cpp1253 const StringTemplate shaderTemplate ( in createOpFUnordGroup() local
1325 spec.assembly = shaderTemplate.specialize(specializations); in createOpFUnordGroup()
1388 const StringTemplate shaderTemplate ( in createOpAtomicGroup() local
1540 spec.assembly = shaderTemplate.specialize(specializations); in createOpAtomicGroup()
1841 const StringTemplate shaderTemplate ( in createNoContractionGroup() local
1910 spec.assembly = shaderTemplate.specialize(specializations); in createNoContractionGroup()
3767 const StringTemplate shaderTemplate ( in createSpecConstantGroup() local
3947 spec.assembly = shaderTemplate.specialize(specializations); in createSpecConstantGroup()
5310 const StringTemplate shaderTemplate ( in createOpSourceGroup() local
5387 spec.assembly = shaderTemplate.specialize(specializations); in createOpSourceGroup()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmEmptyStructTests.cpp67 const tcu::StringTemplate shaderTemplate( in addCopyingComputeGroup() local
221 spec.assembly = shaderTemplate.specialize(specializationMap); in addCopyingComputeGroup()
340 const tcu::StringTemplate shaderTemplate( in addFunctionArgumentReturnValueGroup() local
544 spec.assembly = shaderTemplate.specialize(specializationMap); in addFunctionArgumentReturnValueGroup()
DvktSpvAsmVariablePointersTests.cpp354 const StringTemplate shaderTemplate (stringTemplate); in addPhysicalOrVariablePointersComputeGroup() local
390 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
414 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
446 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
473 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
506 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
543 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
570 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
614 spec.assembly = shaderTemplate.specialize(specs); in addPhysicalOrVariablePointersComputeGroup()
952 const StringTemplate shaderTemplate (stringTemplate); in addComplexTypesPhysicalOrVariablePointersComputeGroup() local
[all …]
DvktSpvAsm8bitStorageTests.cpp122 int getStructSize(const ShaderTemplate shaderTemplate) in getStructSize() argument
124 switch (shaderTemplate) in getStructSize()
946 const StringTemplate shaderTemplate ( in addCompute8bitStorage32To8Group() local
1085 spec.assembly = shaderTemplate.specialize(specs); in addCompute8bitStorage32To8Group()
1105 const StringTemplate shaderTemplate ( in addCompute8bitUniform8To32Group() local
1237 spec.assembly = shaderTemplate.specialize(specs); in addCompute8bitUniform8To32Group()
1263 const StringTemplate shaderTemplate ( in addCompute8bitStoragePushConstant8To32Group() local
1402 spec.assembly = shaderTemplate.specialize(specs); in addCompute8bitStoragePushConstant8To32Group()
1425 const StringTemplate shaderTemplate ( in addCompute8bitStorage16To8Group() local
1561 spec.assembly = shaderTemplate.specialize(specs); in addCompute8bitStorage16To8Group()
[all …]
DvktSpvAsm16bitStorageTests.cpp164 int getStructSize(const ShaderTemplate shaderTemplate) in getStructSize() argument
166 switch (shaderTemplate) in getStructSize()
1155 const StringTemplate shaderTemplate ( in addCompute16bitStorageUniform16To32Group() local
1341 spec.assembly = shaderTemplate.specialize(specs); in addCompute16bitStorageUniform16To32Group()
1476 spec.assembly = shaderTemplate.specialize(specs); in addCompute16bitStorageUniform16To32Group()
1526 const StringTemplate shaderTemplate ( in addCompute16bitStorageUniform16To32ChainAccessGroup() local
1686 spec.assembly = shaderTemplate.specialize(specs); in addCompute16bitStorageUniform16To32ChainAccessGroup()
1704 const StringTemplate shaderTemplate ( in addCompute16bitStoragePushConstant16To32Group() local
1856 spec.assembly = shaderTemplate.specialize(specs); in addCompute16bitStoragePushConstant16To32Group()
1970 spec.assembly = shaderTemplate.specialize(specs); in addCompute16bitStoragePushConstant16To32Group()
[all …]
DvktSpvAsmInstructionTests.cpp1253 const StringTemplate shaderTemplate ( in createOpFUnordGroup() local
1325 spec.assembly = shaderTemplate.specialize(specializations); in createOpFUnordGroup()
1388 const StringTemplate shaderTemplate ( in createOpAtomicGroup() local
1540 spec.assembly = shaderTemplate.specialize(specializations); in createOpAtomicGroup()
1841 const StringTemplate shaderTemplate ( in createNoContractionGroup() local
1910 spec.assembly = shaderTemplate.specialize(specializations); in createNoContractionGroup()
3767 const StringTemplate shaderTemplate ( in createSpecConstantGroup() local
3947 spec.assembly = shaderTemplate.specialize(specializations); in createSpecConstantGroup()
5310 const StringTemplate shaderTemplate ( in createOpSourceGroup() local
5387 spec.assembly = shaderTemplate.specialize(specializations); in createOpSourceGroup()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsShaderConstExprTests.cpp118 const tcu::StringTemplate shaderTemplate (shaderTemplateSrc); in createTests() local
154 const string mapped = shaderTemplate.specialize(shaderTemplateParams); in createTests()
208 const string mapped = shaderTemplate.specialize(shaderTemplateParams); in createTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageMismatchedWriteOpTests.cpp582 std::string shaderTemplate(R"( in getProgramCodeAndVariables() local
730 code.setString(shaderTemplate); in getProgramCodeAndVariables()
736 StringTemplate shaderTemplate {}; in initPrograms() local
755 getProgramCodeAndVariables(shaderTemplate, variables); in initPrograms()
765 << shaderTemplate.specialize(variables) in initPrograms()
772 StringTemplate shaderTemplate {}; in initPrograms() local
779 getProgramCodeAndVariables(shaderTemplate, variables); in initPrograms()
784 << shaderTemplate.specialize(variables) in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMismatchedWriteOpTests.cpp582 std::string shaderTemplate(R"( in getProgramCodeAndVariables() local
730 code.setString(shaderTemplate); in getProgramCodeAndVariables()
736 StringTemplate shaderTemplate {}; in initPrograms() local
755 getProgramCodeAndVariables(shaderTemplate, variables); in initPrograms()
765 << shaderTemplate.specialize(variables) in initPrograms()
772 StringTemplate shaderTemplate {}; in initPrograms() local
779 getProgramCodeAndVariables(shaderTemplate, variables); in initPrograms()
784 << shaderTemplate.specialize(variables) in initPrograms()
DvktImageAtomicOperationTests.cpp742 const tcu::StringTemplate shaderTemplate{getSpirvAtomicOpShader(caseVariant)}; in initPrograms() local
749 sourceCollections.spirvAsmSources.add(m_name) << shaderTemplate.specialize(specializations); in initPrograms()
874 const tcu::StringTemplate shaderTemplate{getSpirvAtomicOpShader(caseVariant)}; in initPrograms() local
881 sourceCollections.spirvAsmSources.add(m_name) << shaderTemplate.specialize(specializations); in initPrograms()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderDiscardTests.cpp333 StringTemplate shaderTemplate(getTemplate(tmpl)); in makeDiscardCase() local
352 …return new ShaderDiscardCase(context, name.c_str(), description.c_str(), shaderTemplate.specialize… in makeDiscardCase()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderDiscardTests.cpp343 StringTemplate shaderTemplate(getTemplate(tmpl)); in makeDiscardCase() local
364 …return new ShaderDiscardCase(context, name.c_str(), description.c_str(), shaderTemplate.specialize… in makeDiscardCase()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDiscardTests.cpp382 StringTemplate shaderTemplate(getTemplate(tmpl)); in makeDiscardCase() local
421 shaderTemplate.specialize(params).c_str(), in makeDiscardCase()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRenderDiscardTests.cpp382 StringTemplate shaderTemplate(getTemplate(tmpl)); in makeDiscardCase() local
421 shaderTemplate.specialize(params).c_str(), in makeDiscardCase()
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
Des3cNumberParsingTests.cpp303 static string replacePlaceholders(const string& shaderTemplate, const TestParams& params) in replacePlaceholders() argument
309 tcu::StringTemplate output(shaderTemplate); in replacePlaceholders()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderConstExprTests.cpp238 const tcu::StringTemplate shaderTemplate(shaderTemplateSrc); in createTests() local
286 shaderExecutorParams.source = shaderTemplate.specialize(shaderTemplateParams); in createTests()
303 shaderExecutorParams.source = shaderTemplate.specialize(shaderTemplateParams); in createTests()
DglcGLSLVectorConstructorTests.cpp378 string replacePlaceholders(const string& shaderTemplate, const TestParams& params, const glu::GLSLV… in replacePlaceholders() argument
381 return tcu::StringTemplate(shaderTemplate).specialize( in replacePlaceholders()
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp190 tcu::StringTemplate shaderTemplate(vshader->sources[glu::SHADERTYPE_VERTEX][0]); in makeGraphicsPipeline() local
191 string shaderSource(shaderTemplate.specialize(templateArgs)); in makeGraphicsPipeline()
202 tcu::StringTemplate shaderTemplate(tcshader->sources[glu::SHADERTYPE_TESSELLATION_CONTROL][0]); in makeGraphicsPipeline() local
203 string shaderSource(shaderTemplate.specialize(templateArgs)); in makeGraphicsPipeline()
214 tcu::StringTemplate shaderTemplate(teshader->sources[glu::SHADERTYPE_TESSELLATION_EVALUATION][0]); in makeGraphicsPipeline() local
215 string shaderSource(shaderTemplate.specialize(templateArgs)); in makeGraphicsPipeline()
226 tcu::StringTemplate shaderTemplate(gshader->sources[glu::SHADERTYPE_GEOMETRY][0]); in makeGraphicsPipeline() local
227 string shaderSource(shaderTemplate.specialize(templateArgs)); in makeGraphicsPipeline()
238 tcu::StringTemplate shaderTemplate(fshader->sources[glu::SHADERTYPE_FRAGMENT][0]); in makeGraphicsPipeline() local
239 string shaderSource(shaderTemplate.specialize(templateArgs)); in makeGraphicsPipeline()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeShaderImageLoadStoreTests.cpp344 const char* shaderTemplate = "${GLSL_VERSION_DECL}\n" in generateShaderSource() local
367 return tcu::StringTemplate(shaderTemplate).specialize(params); in generateShaderSource()

12