Home
last modified time | relevance | path

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

/external/deqp-deps/glslang/glslang/MachineIndependent/
DShaderLang.cpp102 … SpvVersion spvVersion, bool forwardCompatible, EShMessages messages, in CreateParseContext() argument
110 … return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext()
115 …turn new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext()
161 int MapSpvVersionToIndex(const SpvVersion& spvVersion) in MapSpvVersionToIndex() argument
165 if (spvVersion.openGl > 0) in MapSpvVersionToIndex()
167 else if (spvVersion.vulkan > 0) in MapSpvVersionToIndex()
234 …st TString& builtIns, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage lan… in InitializeSymbolTable() argument
242 … language, infoSink, spvVersion, true, EShMsgDefault, in InitializeSymbolTable()
287 …TBuiltInParseables& builtInParseables, int version, EProfile profile, const SpvVersion& spvVersion, in InitializeStageSymbolTable() argument
292 …InitializeSymbolTable(builtInParseables.getStageString(language), version, profile, spvVersion, la… in InitializeStageSymbolTable()
[all …]
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 add2ndGenerationSamplingImaging(int version, EProfile profile, const SpvVersion& spvVersion);
DInitialize.cpp67 inline bool IncludeLegacy(int version, EProfile profile, const SpvVersion& spvVersion) in IncludeLegacy() argument
69 …return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && ARBCompatibility) || pr… in IncludeLegacy()
123 void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvVersion) in initialize() argument
1545 if (spvVersion.spv == 0) { in initialize()
1564 if (spvVersion.spv == 0) { in initialize()
1587 if (spvVersion.spv == 0) { in initialize()
1622 if (spvVersion.spv == 0 && profile != EEsProfile) { in initialize()
1647 if (spvVersion.vulkan == 0) { in initialize()
1866 if (spvVersion.vulkan > 0) { in initialize()
4783 if (IncludeLegacy(version, profile, spvVersion)) in initialize()
[all …]
DparseVersions.h58 const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, in TParseVersions() argument
61 spvVersion(spvVersion), forwardCompatible(forwardCompatible), in TParseVersions()
141 SpvVersion spvVersion; variable
DVersions.cpp471 if (spvVersion.vulkanGlsl > 0) { in getPreamble()
473 snprintf(numberBuf, numberBufSize, "%d", spvVersion.vulkanGlsl); in getPreamble()
478 if (spvVersion.openGl > 0) { in getPreamble()
480 snprintf(numberBuf, numberBufSize, "%d", spvVersion.openGl); in getPreamble()
1087 if (spvVersion.spv != 0) in spvRemoved()
1094 if (spvVersion.vulkan > 0) in vulkanRemoved()
1101 if (spvVersion.vulkan == 0) in requireVulkan()
1108 if (spvVersion.spv == 0) in requireSpv()
Dlocalintermediate.h415 spvVersion = s; in setSpv()
418 if (spvVersion.vulkan > 0) in setSpv()
420 if (spvVersion.openGl > 0) in setSpv()
424 if (spvVersion.vulkan > 0) in setSpv()
426 else if (spvVersion.vulkan > 0) in setSpv()
428 if (spvVersion.openGl > 0) in setSpv()
431 const SpvVersion& getSpv() const { return spvVersion; } in getSpv()
759 SpvVersion spvVersion; variable
DParseHelper.h79 EProfile profile, const SpvVersion& spvVersion, EShLanguage language,
82 …: TParseVersions(interm, version, profile, spvVersion, language, infoSink, forwardCompatible, mess… in TParseVersions() argument
274 …diate&, bool parsingBuiltins, int version, EProfile, const SpvVersion& spvVersion, EShLanguage, TI…
DParseHelper.cpp52 … int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, in TParseContext() argument
55 … TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, in TParseContext()
63 if (profile == EEsProfile || spvVersion.vulkan > 0) { in TParseContext()
65 …if (! parsingBuiltins && language == EShLangFragment && profile != EEsProfile && spvVersion.vulkan… in TParseContext()
73 globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared; in TParseContext()
77 globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared; in TParseContext()
80 if (spvVersion.spv >= EShTargetSpv_1_3) in TParseContext()
270 } else if (spvVersion.spv > 0 && tokens[0].compare("use_storage_buffer") == 0) { in handlePragma()
274 } else if (spvVersion.spv > 0 && tokens[0].compare("use_vulkan_memory_model") == 0) { in handlePragma()
2070 if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_3) in builtInOpCheck()
[all …]
DlinkValidate.cpp127 MERGE_MAX(spvVersion.spv); in mergeModes()
128 MERGE_MAX(spvVersion.vulkanGlsl); in mergeModes()
129 MERGE_MAX(spvVersion.vulkan); in mergeModes()
130 MERGE_MAX(spvVersion.openGl); in mergeModes()
1087 …le != EEsProfile && language == EShLangVertex && qualifier.isPipeInput()) || spvVersion.vulkan > 0) in addUsedLocation()
DScan.cpp1448 if (parseContext.spvVersion.vulkan > 0) in tokenizeIdentifier()
1459 if (parseContext.spvVersion.vulkan > 0) in tokenizeIdentifier()
/external/deqp-deps/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.cpp56 … int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, in HlslParseContext() argument
60 …TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, in… in HlslParseContext()
7170 if (spvVersion.spv != 0) { in setLayoutQualifier()
/external/deqp-deps/glslang/SPIRV/
DSpvTools.cpp52 spv_target_env MapToSpirvToolsEnv(const SpvVersion& spvVersion, spv::SpvBuildLogger* logger) in MapToSpirvToolsEnv() argument
54 switch (spvVersion.vulkan) { in MapToSpirvToolsEnv()
61 if (spvVersion.openGl > 0) in MapToSpirvToolsEnv()
DSpvBuilder.h66 Builder(unsigned int spvVersion, unsigned int userNumber, SpvBuildLogger* logger);
71 unsigned int getSpvVersion() const { return spvVersion; } in getSpvVersion()
687 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()
2710 out.push_back(spvVersion); in dump()
DGlslangToSpv.cpp108 …TGlslangToSpvTraverser(unsigned int spvVersion, const glslang::TIntermediate*, spv::SpvBuildLogger…
1274 TGlslangToSpvTraverser::TGlslangToSpvTraverser(unsigned int spvVersion, const glslang::TIntermediat… in TGlslangToSpvTraverser() argument
1280 …builder(spvVersion, (glslang::GetKhronosToolId() << 16) | glslang::GetSpirvGeneratorVersion(), log… in TGlslangToSpvTraverser()