Home
last modified time | relevance | path

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

12

/external/angle/third_party/vulkan-deps/glslang/src/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.cpp105 … SpvVersion spvVersion, bool forwardCompatible, EShMessages messages, in CreateParseContext() argument
113 … return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext()
118 …turn new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext()
164 int MapSpvVersionToIndex(const SpvVersion& spvVersion) in MapSpvVersionToIndex() argument
168 if (spvVersion.openGl > 0) in MapSpvVersionToIndex()
170 else if (spvVersion.vulkan > 0) { in MapSpvVersionToIndex()
171 if (!spvVersion.vulkanRelaxed) in MapSpvVersionToIndex()
241 …st TString& builtIns, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage lan… in InitializeSymbolTable() argument
249 … language, infoSink, spvVersion, true, EShMsgDefault, in InitializeSymbolTable()
294 …TBuiltInParseables& builtInParseables, int version, EProfile profile, const SpvVersion& spvVersion, in InitializeStageSymbolTable() argument
[all …]
DInitialize.cpp460 void TBuiltIns::addTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion) in addTabledBuiltins() argument
464 if (ValidVersion(*function, version, profile, spvVersion)) in addTabledBuiltins()
485 inline bool IncludeLegacy(int version, EProfile profile, const SpvVersion& spvVersion) in IncludeLegacy() argument
487 …return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCo… in IncludeLegacy()
549 void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvVersion) in initialize() argument
558 addTabledBuiltins(version, profile, spvVersion); in initialize()
1743 if (spvVersion.spv == 0) { in initialize()
1762 if (spvVersion.spv == 0) { in initialize()
1785 if (spvVersion.spv == 0) { in initialize()
1830 if (spvVersion.spv == 0 && profile != EEsProfile) { in initialize()
[all …]
DVersions.cpp604 if (spvVersion.vulkanGlsl > 0) { in getPreamble()
606 snprintf(numberBuf, numberBufSize, "%d", spvVersion.vulkanGlsl); in getPreamble()
613 if (spvVersion.openGl > 0) { in getPreamble()
615 snprintf(numberBuf, numberBufSize, "%d", spvVersion.openGl); in getPreamble()
1310 if (spvVersion.spv != 0) in spvRemoved()
1317 if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed) in vulkanRemoved()
1325 if (spvVersion.vulkan == 0) in requireVulkan()
1334 if (spvVersion.spv == 0) in requireSpv()
1341 if (spvVersion.spv < version) in requireSpv()
DparseVersions.h58 const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, in TParseVersions() argument
67 spvVersion(spvVersion), in TParseVersions()
228 SpvVersion spvVersion; variable
Dlocalintermediate.h373 spvVersion = s; in setSpv()
376 if (spvVersion.vulkan > 0) in setSpv()
378 if (spvVersion.openGl > 0) in setSpv()
382 switch (spvVersion.spv) { in setSpv()
411 switch (spvVersion.vulkan) { in setSpv()
430 if (spvVersion.openGl > 0) in setSpv()
433 const SpvVersion& getSpv() const { return spvVersion; } in getSpv()
1088 SpvVersion spvVersion; variable
DParseHelper.cpp53 … int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, in TParseContext() argument
56 … TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, in TParseContext()
67 if (isEsProfile() || spvVersion.vulkan > 0) { in TParseContext()
69 … if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0) in TParseContext()
77 globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared; in TParseContext()
81 globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared; in TParseContext()
84 if (spvVersion.spv >= EShTargetSpv_1_3) in TParseContext()
240 if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) { in growGlobalUniformBlock()
274 if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) { in growAtomicCounterBlock()
401 } else if (spvVersion.spv > 0 && tokens[0].compare("use_storage_buffer") == 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
304 …diate&, bool parsingBuiltins, int version, EProfile, const SpvVersion& spvVersion, EShLanguage, TI…
/external/deqp-deps/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.cpp105 … SpvVersion spvVersion, bool forwardCompatible, EShMessages messages, in CreateParseContext() argument
113 … return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext()
118 …turn new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext()
164 int MapSpvVersionToIndex(const SpvVersion& spvVersion) in MapSpvVersionToIndex() argument
168 if (spvVersion.openGl > 0) in MapSpvVersionToIndex()
170 else if (spvVersion.vulkan > 0) { in MapSpvVersionToIndex()
171 if (!spvVersion.vulkanRelaxed) in MapSpvVersionToIndex()
241 …st TString& builtIns, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage lan… in InitializeSymbolTable() argument
249 … language, infoSink, spvVersion, true, EShMsgDefault, in InitializeSymbolTable()
294 …TBuiltInParseables& builtInParseables, int version, EProfile profile, const SpvVersion& spvVersion, in InitializeStageSymbolTable() argument
[all …]
DInitialize.cpp460 void TBuiltIns::addTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion) in addTabledBuiltins() argument
464 if (ValidVersion(*function, version, profile, spvVersion)) in addTabledBuiltins()
485 inline bool IncludeLegacy(int version, EProfile profile, const SpvVersion& spvVersion) in IncludeLegacy() argument
487 …return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && version == 140 && ARBCo… in IncludeLegacy()
549 void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvVersion) in initialize() argument
558 addTabledBuiltins(version, profile, spvVersion); in initialize()
1743 if (spvVersion.spv == 0) { in initialize()
1762 if (spvVersion.spv == 0) { in initialize()
1785 if (spvVersion.spv == 0) { in initialize()
1830 if (spvVersion.spv == 0 && profile != EEsProfile) { in initialize()
[all …]
DVersions.cpp604 if (spvVersion.vulkanGlsl > 0) { in getPreamble()
606 snprintf(numberBuf, numberBufSize, "%d", spvVersion.vulkanGlsl); in getPreamble()
613 if (spvVersion.openGl > 0) { in getPreamble()
615 snprintf(numberBuf, numberBufSize, "%d", spvVersion.openGl); in getPreamble()
1310 if (spvVersion.spv != 0) in spvRemoved()
1317 if (spvVersion.vulkan > 0 && !spvVersion.vulkanRelaxed) in vulkanRemoved()
1325 if (spvVersion.vulkan == 0) in requireVulkan()
1334 if (spvVersion.spv == 0) in requireSpv()
1341 if (spvVersion.spv < version) in requireSpv()
DparseVersions.h58 const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, in TParseVersions() argument
67 spvVersion(spvVersion), in TParseVersions()
228 SpvVersion spvVersion; variable
Dlocalintermediate.h372 spvVersion = s; in setSpv()
375 if (spvVersion.vulkan > 0) in setSpv()
377 if (spvVersion.openGl > 0) in setSpv()
381 switch (spvVersion.spv) { in setSpv()
410 switch (spvVersion.vulkan) { in setSpv()
429 if (spvVersion.openGl > 0) in setSpv()
432 const SpvVersion& getSpv() const { return spvVersion; } in getSpv()
1079 SpvVersion spvVersion; variable
DParseHelper.cpp53 … int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, in TParseContext() argument
56 … TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, in TParseContext()
67 if (isEsProfile() || spvVersion.vulkan > 0) { in TParseContext()
69 … if (! parsingBuiltins && language == EShLangFragment && !isEsProfile() && spvVersion.vulkan > 0) in TParseContext()
77 globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared; in TParseContext()
81 globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared; in TParseContext()
84 if (spvVersion.spv >= EShTargetSpv_1_3) in TParseContext()
240 if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) { in growGlobalUniformBlock()
274 if (spvVersion.vulkan > 0 && spvVersion.vulkanRelaxed) { in growAtomicCounterBlock()
401 } else if (spvVersion.spv > 0 && tokens[0].compare("use_storage_buffer") == 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
304 …diate&, bool parsingBuiltins, int version, EProfile, const SpvVersion& spvVersion, EShLanguage, TI…
DlinkValidate.cpp186 MERGE_MAX(spvVersion.spv); in mergeModes()
187 MERGE_MAX(spvVersion.vulkanGlsl); in mergeModes()
188 MERGE_MAX(spvVersion.vulkan); in mergeModes()
189 MERGE_MAX(spvVersion.openGl); in mergeModes()
190 MERGE_TRUE(spvVersion.vulkanRelaxed); in mergeModes()
1542 … (!isEsProfile() && language == EShLangVertex && qualifier.isPipeInput()) || spvVersion.vulkan > 0) in addUsedLocation()
/external/deqp-deps/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…
/external/angle/third_party/vulkan-deps/glslang/src/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…
/external/deqp-deps/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()
DSpvBuilder.h76 Builder(unsigned int spvVersion, unsigned int userNumber, SpvBuildLogger* logger);
81 unsigned int getSpvVersion() const { return spvVersion; } in getSpvVersion()
803 unsigned int spvVersion; // the version of SPIR-V to emit in the header variable
/external/angle/third_party/vulkan-deps/glslang/src/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()
DSpvBuilder.h76 Builder(unsigned int spvVersion, unsigned int userNumber, SpvBuildLogger* logger);
81 unsigned int getSpvVersion() const { return spvVersion; } in getSpvVersion()
803 unsigned int spvVersion; // the version of SPIR-V to emit in the header variable

12