Home
last modified time | relevance | path

Searched refs:specializations (Results 1 – 25 of 49) sorted by relevance

12

/third_party/mesa3d/src/compiler/spirv/
Dgl_spirv.c78 if (b->specializations[i].id == dec->operands[0]) { in spec_constant_decoration_cb()
79 b->specializations[i].defined_on_module = true; in spec_constant_decoration_cb()
258 b->specializations = spec; in gl_spirv_validation()
Dnir_spirv.h120 struct nir_spirv_specialization *specializations,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp3553 map<string, string> specializations; in fillShaderSpec() local
3554 specializations["extensions"] = extensions; in fillShaderSpec()
3555 specializations["execution_mode"] = behaviorExecutionMode; in fillShaderSpec()
3556 specializations["annotations"] = annotations + specOpData.annotations; in fillShaderSpec()
3557 specializations["types"] = types + specOpData.types; in fillShaderSpec()
3558 specializations["io_definitions"] = ioDefinitions; in fillShaderSpec()
3559 specializations["variables"] = specOpData.variables; in fillShaderSpec()
3560 specializations["functions"] = specOpData.functions; in fillShaderSpec()
3561specializations["save_result"] = (outFp16WithoutStorage ? outTypeSnippets->storeResultsFp16Snippe… in fillShaderSpec()
3562 specializations["arguments"] = specOpData.arguments; in fillShaderSpec()
[all …]
DvktSpvAsmInstructionTests.cpp1317 map<string, string> specializations; in createOpFUnordGroup() local
1324 specializations["OPCODE"] = cases[caseNdx].opCode; in createOpFUnordGroup()
1325 spec.assembly = shaderTemplate.specialize(specializations); in createOpFUnordGroup()
1486 map<string, string> specializations; in createOpAtomicGroup() local
1497 specializations["SEMANTICS"] = "%volbit"; in createOpAtomicGroup()
1498 specializations["SCOPE"] = "%five"; in createOpAtomicGroup()
1503 specializations["SEMANTICS"] = "%zero"; in createOpAtomicGroup()
1504 specializations["SCOPE"] = "%one"; in createOpAtomicGroup()
1506 specializations["INDEX"] = (cases[caseNdx].numOutputElements == 1) ? "%zero" : "%x"; in createOpAtomicGroup()
1507 specializations["INSTRUCTION"] = cases[caseNdx].assembly; in createOpAtomicGroup()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp3553 map<string, string> specializations; in fillShaderSpec() local
3554 specializations["extensions"] = extensions; in fillShaderSpec()
3555 specializations["execution_mode"] = behaviorExecutionMode; in fillShaderSpec()
3556 specializations["annotations"] = annotations + specOpData.annotations; in fillShaderSpec()
3557 specializations["types"] = types + specOpData.types; in fillShaderSpec()
3558 specializations["io_definitions"] = ioDefinitions; in fillShaderSpec()
3559 specializations["variables"] = specOpData.variables; in fillShaderSpec()
3560 specializations["functions"] = specOpData.functions; in fillShaderSpec()
3561specializations["save_result"] = (outFp16WithoutStorage ? outTypeSnippets->storeResultsFp16Snippe… in fillShaderSpec()
3562 specializations["arguments"] = specOpData.arguments; in fillShaderSpec()
[all …]
DvktSpvAsmInstructionTests.cpp1317 map<string, string> specializations; in createOpFUnordGroup() local
1324 specializations["OPCODE"] = cases[caseNdx].opCode; in createOpFUnordGroup()
1325 spec.assembly = shaderTemplate.specialize(specializations); in createOpFUnordGroup()
1486 map<string, string> specializations; in createOpAtomicGroup() local
1497 specializations["SEMANTICS"] = "%volbit"; in createOpAtomicGroup()
1498 specializations["SCOPE"] = "%five"; in createOpAtomicGroup()
1503 specializations["SEMANTICS"] = "%zero"; in createOpAtomicGroup()
1504 specializations["SCOPE"] = "%one"; in createOpAtomicGroup()
1506 specializations["INDEX"] = (cases[caseNdx].numOutputElements == 1) ? "%zero" : "%x"; in createOpAtomicGroup()
1507 specializations["INSTRUCTION"] = cases[caseNdx].assembly; in createOpAtomicGroup()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageMismatchedFormatsTests.cpp339 std::map<std::string, std::string> specializations; in initPrograms() local
341 specializations["FORMAT"] = glslFormat; in initPrograms()
342 specializations["VECT"] = ChannelClassToVecType(spirvFormatInfo.ChannelClass); in initPrograms()
343 specializations["IMAGE"] = ChannelClassToImageType(spirvFormatInfo.ChannelClass); in initPrograms()
344 specializations["VALUE"] = ChannelClassToDefaultVecValue(spirvFormatInfo.ChannelClass); in initPrograms()
346 …urces.add("comp") << glu::ComputeSource( tcu::StringTemplate{source}.specialize(specializations) ); in initPrograms()
DvktImageLoadStoreTests.cpp2573 std::map<std::string, std::string> specializations in initPrograms() local
2596 specializations["write_extend_operand"] = "Nontemporal"; in initPrograms()
2617 imageTypes = imageTypeTemplate.specialize(specializations); in initPrograms()
2618 imageUniformTypes = imageUniformTypeTemplate.specialize(specializations); in initPrograms()
2619 imageVariables = imageVariablesTemplate.specialize(specializations); in initPrograms()
2620 imageLoad = imageLoadTemplate.specialize(specializations); in initPrograms()
2622 specializations["image_var_id"] = "%dst_image_ptr"; in initPrograms()
2623 specializations["image_id"] = "%dst_image"; in initPrograms()
2624 imageVariables += imageVariablesTemplate.specialize(specializations); in initPrograms()
2625 imageLoad += imageLoadTemplate.specialize(specializations); in initPrograms()
[all …]
DvktImageAtomicOperationTests.cpp743 std::map<std::string, std::string> specializations; in initPrograms() local
745 specializations["OPNAME"] = getSpirvAtomicOpName(m_operation); in initPrograms()
747 specializations["LASTARG"] = ""; in initPrograms()
749 sourceCollections.spirvAsmSources.add(m_name) << shaderTemplate.specialize(specializations); in initPrograms()
875 std::map<std::string, std::string> specializations; in initPrograms() local
877 specializations["OPNAME"] = getSpirvAtomicOpName(m_operation); in initPrograms()
879 specializations["LASTARG"] = ""; in initPrograms()
881 sourceCollections.spirvAsmSources.add(m_name) << shaderTemplate.specialize(specializations); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMismatchedFormatsTests.cpp339 std::map<std::string, std::string> specializations; in initPrograms() local
341 specializations["FORMAT"] = glslFormat; in initPrograms()
342 specializations["VECT"] = ChannelClassToVecType(spirvFormatInfo.ChannelClass); in initPrograms()
343 specializations["IMAGE"] = ChannelClassToImageType(spirvFormatInfo.ChannelClass); in initPrograms()
344 specializations["VALUE"] = ChannelClassToDefaultVecValue(spirvFormatInfo.ChannelClass); in initPrograms()
346 …urces.add("comp") << glu::ComputeSource( tcu::StringTemplate{source}.specialize(specializations) ); in initPrograms()
DvktImageLoadStoreTests.cpp2573 std::map<std::string, std::string> specializations in initPrograms() local
2596 specializations["write_extend_operand"] = "Nontemporal"; in initPrograms()
2617 imageTypes = imageTypeTemplate.specialize(specializations); in initPrograms()
2618 imageUniformTypes = imageUniformTypeTemplate.specialize(specializations); in initPrograms()
2619 imageVariables = imageVariablesTemplate.specialize(specializations); in initPrograms()
2620 imageLoad = imageLoadTemplate.specialize(specializations); in initPrograms()
2622 specializations["image_var_id"] = "%dst_image_ptr"; in initPrograms()
2623 specializations["image_id"] = "%dst_image"; in initPrograms()
2624 imageVariables += imageVariablesTemplate.specialize(specializations); in initPrograms()
2625 imageLoad += imageLoadTemplate.specialize(specializations); in initPrograms()
[all …]
DvktImageAtomicOperationTests.cpp743 std::map<std::string, std::string> specializations; in initPrograms() local
745 specializations["OPNAME"] = getSpirvAtomicOpName(m_operation); in initPrograms()
747 specializations["LASTARG"] = ""; in initPrograms()
749 sourceCollections.spirvAsmSources.add(m_name) << shaderTemplate.specialize(specializations); in initPrograms()
875 std::map<std::string, std::string> specializations; in initPrograms() local
877 specializations["OPNAME"] = getSpirvAtomicOpName(m_operation); in initPrograms()
879 specializations["LASTARG"] = ""; in initPrograms()
881 sourceCollections.spirvAsmSources.add(m_name) << shaderTemplate.specialize(specializations); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderClockTests.cpp205 std::map<std::string, std::string> specializations = { in initShaderSpec() local
210 …m_shaderSpec.globalDeclarations = tcu::StringTemplate("${EXTENSIONS}").specialize(specializations); in initShaderSpec()
211 m_shaderSpec.source = tcu::StringTemplate("${SOURCE} ").specialize(specializations); in initShaderSpec()
DvktAtomicOperationTests.cpp1439 std::map<std::string, std::string> specializations; in createShaderSpec() local
1441 specializations["EXTENSIONS"] = extensions.str(); in createShaderSpec()
1442 specializations["DATATYPE"] = dataType2Str(m_dataType); in createShaderSpec()
1443 specializations["ATOMICOP"] = atomicOp2Str(m_atomicOp); in createShaderSpec()
1444 specializations["SETIDX"] = de::toString((int)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX); in createShaderSpec()
1445 specializations["N"] = de::toString((int)NUM_ELEMENTS); in createShaderSpec()
1446specializations["COMPARE_ARG"] = ((m_atomicOp == ATOMIC_OP_COMP_SWAP) ? "buf.data.compareValues[… in createShaderSpec()
1447 specializations["RESULT_BUFFER_NAME"] = (isSharedLike ? "result" : "buf"); in createShaderSpec()
1452 m_shaderSpec.globalDeclarations = shaderTemplateGlobal.specialize(specializations); in createShaderSpec()
1454 ? vertexShaderTemplateSrc.specialize(specializations) in createShaderSpec()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderClockTests.cpp205 std::map<std::string, std::string> specializations = { in initShaderSpec() local
210 …m_shaderSpec.globalDeclarations = tcu::StringTemplate("${EXTENSIONS}").specialize(specializations); in initShaderSpec()
211 m_shaderSpec.source = tcu::StringTemplate("${SOURCE} ").specialize(specializations); in initShaderSpec()
DvktAtomicOperationTests.cpp1439 std::map<std::string, std::string> specializations; in createShaderSpec() local
1441 specializations["EXTENSIONS"] = extensions.str(); in createShaderSpec()
1442 specializations["DATATYPE"] = dataType2Str(m_dataType); in createShaderSpec()
1443 specializations["ATOMICOP"] = atomicOp2Str(m_atomicOp); in createShaderSpec()
1444 specializations["SETIDX"] = de::toString((int)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX); in createShaderSpec()
1445 specializations["N"] = de::toString((int)NUM_ELEMENTS); in createShaderSpec()
1446specializations["COMPARE_ARG"] = ((m_atomicOp == ATOMIC_OP_COMP_SWAP) ? "buf.data.compareValues[… in createShaderSpec()
1447 specializations["RESULT_BUFFER_NAME"] = (isSharedLike ? "result" : "buf"); in createShaderSpec()
1452 m_shaderSpec.globalDeclarations = shaderTemplateGlobal.specialize(specializations); in createShaderSpec()
1454 ? vertexShaderTemplateSrc.specialize(specializations) in createShaderSpec()
[all …]
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c94 struct dxil_spirv_specialization *specializations, in spirv_to_dxil() argument
127 words, word_count, (struct nir_spirv_specialization *)specializations, in spirv_to_dxil()
Dspirv_to_dxil.h180 struct dxil_spirv_specialization *specializations,
/third_party/mesa3d/src/compiler/clc/
Dclc_helpers.cpp1140 unsigned id = consts->specializations[i].id; in clc_spirv_specialize()
1149 words.push_back(consts->specializations[i].value.b); in clc_spirv_specialize()
1154 words.push_back(consts->specializations[i].value.u32); in clc_spirv_specialize()
1157 words.push_back((uint32_t)(int32_t)consts->specializations[i].value.i16); in clc_spirv_specialize()
1160 words.push_back((uint32_t)(int32_t)consts->specializations[i].value.i8); in clc_spirv_specialize()
1163 words.push_back((uint32_t)consts->specializations[i].value.u16); in clc_spirv_specialize()
1166 words.push_back((uint32_t)consts->specializations[i].value.u8); in clc_spirv_specialize()
1172 memcpy(words.data(), &consts->specializations[i].value.u64, 8); in clc_spirv_specialize()
Dclc.h248 const struct clc_spirv_specialization *specializations; member
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkPipeline.cpp60 std::unordered_map<uint32_t, std::vector<uint32_t>> specializations; in optimizeSpirv() local
69 specializations.emplace(entry.constantID, std::move(value)); in optimizeSpirv()
72 opt.RegisterPass(spvtools::CreateSetSpecConstantDefaultValuePass(specializations)); in optimizeSpirv()
/third_party/json/doc/mkdocs/docs/api/basic_json/
Dget.md59 2. Overload for `basic_json` specializations. The function is equivalent to executing
135 2. Since version 2.1.0. Extended to work with other specializations of `basic_json` in version 3.2.…
/third_party/openGLES/extensions/EXT/
DEXT_base_instance.txt382 specializations of DrawArraysInstancedBaseInstanceEXT, it also does not
385 bound in ES 3.1, and since these commands are specializations of
394 them as well. As per issue (3), the old commands are specializations of
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_base_instance.txt382 specializations of DrawArraysInstancedBaseInstanceEXT, it also does not
385 bound in ES 3.1, and since these commands are specializations of
394 them as well. As per issue (3), the old commands are specializations of
/third_party/mesa3d/src/microsoft/clc/
Dcompute_test.h197 consts.specializations = &spec; in specialize()

12