Home
last modified time | relevance | path

Searched refs:spvVersion (Results 1 – 23 of 23) sorted by relevance

/third_party/glslang/glslang/MachineIndependent/
DInitialize.h64 virtual void initialize(int version, EProfile, const SpvVersion& spvVersion) = 0;
65 … TBuiltInResource& resources, int version, EProfile, const SpvVersion& spvVersion, EShLanguage) = …
69 …virtual void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLang…
70 …virtual void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLang…
87 void initialize(int version, EProfile, const SpvVersion& spvVersion);
88 …nst TBuiltInResource& resources, int version, EProfile, const SpvVersion& spvVersion, EShLanguage);
90 …void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage lan…
91 …void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage lan…
94 void addTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion);
95 …void relateTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage…
[all …]
DShaderLang.cpp108 … SpvVersion spvVersion, bool forwardCompatible, EShMessages messages, in CreateParseContext() argument
116 … return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext()
121 …turn new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext()
167 int MapSpvVersionToIndex(const SpvVersion& spvVersion) in MapSpvVersionToIndex() argument
171 if (spvVersion.openGl > 0) in MapSpvVersionToIndex()
173 else if (spvVersion.vulkan > 0) { in MapSpvVersionToIndex()
174 if (!spvVersion.vulkanRelaxed) in MapSpvVersionToIndex()
244 …st TString& builtIns, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage lan… in InitializeSymbolTable() argument
252 … language, infoSink, spvVersion, true, EShMsgDefault, in InitializeSymbolTable()
297 …TBuiltInParseables& builtInParseables, int version, EProfile profile, const SpvVersion& spvVersion, in InitializeStageSymbolTable() argument
[all …]
DInitialize.cpp437 void TBuiltIns::addTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion) in addTabledBuiltins() argument
441 if (ValidVersion(*function, version, profile, spvVersion)) in addTabledBuiltins()
462 inline bool IncludeLegacy(int version, EProfile profile, const SpvVersion& spvVersion) in IncludeLegacy() argument
464 …return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCo… in IncludeLegacy()
521 void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvVersion) in initialize() argument
523 addTabledBuiltins(version, profile, spvVersion); in initialize()
1692 if (spvVersion.spv == 0) { in initialize()
1711 if (spvVersion.spv == 0) { in initialize()
1744 if (spvVersion.spv == 0) { in initialize()
1789 if (spvVersion.spv == 0 && profile != EEsProfile) { in initialize()
[all …]
DparseVersions.h58 const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, in TParseVersions() argument
65 spvVersion(spvVersion), in TParseVersions()
163 SpvVersion spvVersion; variable
DVersions.cpp588 if (spvVersion.spv == 0) { in getPreamble()
639 if (spvVersion.vulkanGlsl > 0) { in getPreamble()
641 snprintf(numberBuf, numberBufSize, "%d", spvVersion.vulkanGlsl); in getPreamble()
647 if (spvVersion.openGl > 0) { in getPreamble()
649 snprintf(numberBuf, numberBufSize, "%d", spvVersion.openGl); in getPreamble()
1118 if (spvVersion.spv != 0){ in extensionRequires()
1363 if (spvVersion.spv != 0) in spvRemoved()
1370 if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed) in vulkanRemoved()
1377 if (spvVersion.vulkan == 0) in requireVulkan()
1384 if (spvVersion.spv == 0) in requireSpv()
[all …]
Dlocalintermediate.h379 spvVersion = s; in setSpv()
382 if (spvVersion.vulkan > 0) in setSpv()
384 if (spvVersion.openGl > 0) in setSpv()
388 switch (spvVersion.spv) { in setSpv()
417 switch (spvVersion.vulkan) { in setSpv()
436 if (spvVersion.openGl > 0) in setSpv()
439 const SpvVersion& getSpv() const { return spvVersion; } in getSpv()
1140 SpvVersion spvVersion; variable
DParseHelper.cpp54 … int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, in TParseContext() argument
57 … TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, in TParseContext()
65 if (isEsProfile() || spvVersion.vulkan > 0) { in TParseContext()
67 … if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0) in TParseContext()
75 globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared; in TParseContext()
79 globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared; in TParseContext()
228 if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) { in growGlobalUniformBlock()
262 if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) { in growAtomicCounterBlock()
388 } else if (spvVersion.spv > 0 && tokens[0].compare("use_storage_buffer") == 0) { in handlePragma()
392 } else if (spvVersion.spv > 0 && tokens[0].compare("use_vulkan_memory_model") == 0) { in handlePragma()
[all …]
Dattribute.cpp291 if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) in handleLoopAttributes()
DParseHelper.h80 EProfile profile, const SpvVersion& spvVersion, EShLanguage language,
83 …: TParseVersions(interm, version, profile, spvVersion, language, infoSink, forwardCompatible, mess… in TParseVersions() argument
99 if (spvVersion.spv >= EShTargetSpv_1_3) in TParseVersions()
308 …diate&, bool parsingBuiltins, int version, EProfile, const SpvVersion& spvVersion, EShLanguage, TI…
DlinkValidate.cpp184 MERGE_MAX(spvVersion.spv); in mergeModes()
185 MERGE_MAX(spvVersion.vulkanGlsl); in mergeModes()
186 MERGE_MAX(spvVersion.vulkan); in mergeModes()
187 MERGE_MAX(spvVersion.openGl); in mergeModes()
188 MERGE_TRUE(spvVersion.vulkanRelaxed); in mergeModes()
1731 …if (! (!isEsProfile() && language == EShLangVertex && qualifier.isPipeInput()) || spvVersion.vulka… in addUsedLocation()
DScan.cpp1478 if (parseContext.spvVersion.vulkan > 0) in tokenizeIdentifier()
1537 if (parseContext.spvVersion.vulkan > 0) in tokenizeIdentifier()
1662 if (parseContext.spvVersion.vulkan > 0) in tokenizeIdentifier()
1676 if (parseContext.spvVersion.vulkan > 0) in tokenizeIdentifier()
Dglslang.y488 if (parseContext.spvVersion.vulkan > 0
489 && parseContext.spvVersion.vulkanRelaxed
506 if (parseContext.spvVersion.vulkan > 0
507 && parseContext.spvVersion.vulkanRelaxed
1000 if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
1022 if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed))
3583 else if (parseContext.spvVersion.vulkanRelaxed
Dglslang_tab.cpp5461 if (parseContext.spvVersion.vulkan > 0 in yyparse()
5462 && parseContext.spvVersion.vulkanRelaxed in yyparse()
5484 if (parseContext.spvVersion.vulkan > 0 in yyparse()
5485 && parseContext.spvVersion.vulkanRelaxed in yyparse()
6312 if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed)) in yyparse()
6339 if (!(parseContext.spvVersion.vulkan > 0 && parseContext.spvVersion.vulkanRelaxed)) in yyparse()
10961 else if (parseContext.spvVersion.vulkanRelaxed in yyparse()
/third_party/glslang/glslang/HLSL/
DhlslParseables.h51 void initialize(int version, EProfile, const SpvVersion& spvVersion);
52 …nst TBuiltInResource& resources, int version, EProfile, const SpvVersion& spvVersion, EShLanguage);
54 …void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage lan…
56 …void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage lan…
DhlslParseHelper.h52 int version, EProfile, const SpvVersion& spvVersion, EShLanguage, TInfoSink&,
DhlslParseHelper.cpp57 … int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, in HlslParseContext() argument
61 …TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, in… in HlslParseContext()
7431 if (spvVersion.spv != 0) { in setLayoutQualifier()
/third_party/glslang/SPIRV/
DSpvTools.cpp51 spv_target_env MapToSpirvToolsEnv(const SpvVersion& spvVersion, spv::SpvBuildLogger* logger) in MapToSpirvToolsEnv() argument
53 switch (spvVersion.vulkan) { in MapToSpirvToolsEnv()
57 switch (spvVersion.spv) { in MapToSpirvToolsEnv()
77 if (spvVersion.openGl > 0) in MapToSpirvToolsEnv()
DSpvTools.h59 spv_target_env MapToSpirvToolsEnv(const SpvVersion& spvVersion, spv::SpvBuildLogger* logger);
DSpvBuilder.h80 Builder(unsigned int spvVersion, unsigned int userNumber, SpvBuildLogger* logger);
85 unsigned int getSpvVersion() const { return spvVersion; } in getSpvVersion()
881 unsigned int spvVersion; // the version of SPIR-V to emit in the header variable
DSpvBuilder.cpp57 Builder::Builder(unsigned int spvVersion, unsigned int magicNumber, SpvBuildLogger* buildLogger) : in Builder() argument
58 spvVersion(spvVersion), in Builder()
3761 if (spvVersion >= Spv_1_4 && isValidInitializer(accessChain.base)) { in accessChainLoad()
3878 out.push_back(spvVersion); in dump()
DGlslangToSpv.cpp124 …TGlslangToSpvTraverser(unsigned int spvVersion, const glslang::TIntermediate*, spv::SpvBuildLogger…
1533 TGlslangToSpvTraverser::TGlslangToSpvTraverser(unsigned int spvVersion, in TGlslangToSpvTraverser() argument
1540 …builder(spvVersion, (glslang::GetKhronosToolId() << 16) | glslang::GetSpirvGeneratorVersion(), log… in TGlslangToSpvTraverser()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktAtomicOperationTests.cpp1037 const auto spvVersion = (useSpv14 ? vk::SPIRV_VERSION_1_4 : vk::SPIRV_VERSION_1_0); in initPrograms() local
1038 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spvVersion, 0u, useSpv… in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktAtomicOperationTests.cpp1037 const auto spvVersion = (useSpv14 ? vk::SPIRV_VERSION_1_4 : vk::SPIRV_VERSION_1_0); in initPrograms() local
1038 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spvVersion, 0u, useSpv… in initPrograms()