/third_party/glslang/glslang/MachineIndependent/ |
D | Initialize.h | 64 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 …]
|
D | ShaderLang.cpp | 105 … 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() 237 …st TString& builtIns, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage lan… in InitializeSymbolTable() argument 245 … language, infoSink, spvVersion, true, EShMsgDefault, in InitializeSymbolTable() 290 …TBuiltInParseables& builtInParseables, int version, EProfile profile, const SpvVersion& spvVersion, in InitializeStageSymbolTable() argument 303 …InitializeSymbolTable(builtInParseables.getStageString(language), version, profile, spvVersion, la… in InitializeStageSymbolTable() [all …]
|
D | Initialize.cpp | 459 void TBuiltIns::addTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion) in addTabledBuiltins() argument 463 if (ValidVersion(*function, version, profile, spvVersion)) in addTabledBuiltins() 484 inline bool IncludeLegacy(int version, EProfile profile, const SpvVersion& spvVersion) in IncludeLegacy() argument 486 …return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && ARBCompatibility) || pr… in IncludeLegacy() 545 void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvVersion) in initialize() argument 554 addTabledBuiltins(version, profile, spvVersion); in initialize() 1491 if (spvVersion.spv == 0) { in initialize() 1510 if (spvVersion.spv == 0) { in initialize() 1533 if (spvVersion.spv == 0) { in initialize() 1578 if (spvVersion.spv == 0 && profile != EEsProfile) { in initialize() [all …]
|
D | parseVersions.h | 58 const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, in TParseVersions() argument 67 spvVersion(spvVersion), in TParseVersions() 228 SpvVersion spvVersion; variable
|
D | Versions.cpp | 569 if (spvVersion.vulkanGlsl > 0) { in getPreamble() 571 snprintf(numberBuf, numberBufSize, "%d", spvVersion.vulkanGlsl); in getPreamble() 578 if (spvVersion.openGl > 0) { in getPreamble() 580 snprintf(numberBuf, numberBufSize, "%d", spvVersion.openGl); in getPreamble() 1252 if (spvVersion.spv != 0) in spvRemoved() 1259 if (spvVersion.vulkan > 0) in vulkanRemoved() 1267 if (spvVersion.vulkan == 0) in requireVulkan() 1276 if (spvVersion.spv == 0) in requireSpv() 1283 if (spvVersion.spv < version) in requireSpv()
|
D | localintermediate.h | 361 spvVersion = s; in setSpv() 364 if (spvVersion.vulkan > 0) in setSpv() 366 if (spvVersion.openGl > 0) in setSpv() 370 switch (spvVersion.spv) { in setSpv() 396 switch (spvVersion.vulkan) { in setSpv() 412 if (spvVersion.openGl > 0) in setSpv() 415 const SpvVersion& getSpv() const { return spvVersion; } in getSpv() 974 SpvVersion spvVersion; variable
|
D | attribute.cpp | 289 if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) in handleLoopAttributes()
|
D | ParseHelper.h | 80 EProfile profile, const SpvVersion& spvVersion, EShLanguage language, 83 …: TParseVersions(interm, version, profile, spvVersion, language, infoSink, forwardCompatible, mess… in TParseVersions() argument 283 …diate&, bool parsingBuiltins, int version, EProfile, const SpvVersion& spvVersion, EShLanguage, TI…
|
D | ParseHelper.cpp | 53 … 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() 285 } else if (spvVersion.spv > 0 && tokens[0].compare("use_storage_buffer") == 0) { in handlePragma() 289 } else if (spvVersion.spv > 0 && tokens[0].compare("use_vulkan_memory_model") == 0) { in handlePragma() 293 } else if (spvVersion.spv > 0 && tokens[0].compare("use_variable_pointers") == 0) { in handlePragma() [all …]
|
D | linkValidate.cpp | 135 MERGE_MAX(spvVersion.spv); in mergeModes() 136 MERGE_MAX(spvVersion.vulkanGlsl); in mergeModes() 137 MERGE_MAX(spvVersion.vulkan); in mergeModes() 138 MERGE_MAX(spvVersion.openGl); in mergeModes() 1159 … (!isEsProfile() && language == EShLangVertex && qualifier.isPipeInput()) || spvVersion.vulkan > 0) in addUsedLocation()
|
D | Scan.cpp | 1362 if (parseContext.spvVersion.vulkan > 0) in tokenizeIdentifier() 1416 if (parseContext.spvVersion.vulkan > 0) in tokenizeIdentifier() 1534 if (parseContext.spvVersion.vulkan > 0) in tokenizeIdentifier() 1545 if (parseContext.spvVersion.vulkan > 0) in tokenizeIdentifier()
|
/third_party/glslang/glslang/HLSL/ |
D | hlslParseables.h | 51 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…
|
D | hlslParseHelper.h | 52 int version, EProfile, const SpvVersion& spvVersion, EShLanguage, TInfoSink&,
|
D | hlslParseHelper.cpp | 57 … int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, in HlslParseContext() argument 61 …TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, in… in HlslParseContext() 7334 if (spvVersion.spv != 0) { in setLayoutQualifier()
|
/third_party/glslang/SPIRV/ |
D | SpvTools.cpp | 52 spv_target_env MapToSpirvToolsEnv(const SpvVersion& spvVersion, spv::SpvBuildLogger* logger) in MapToSpirvToolsEnv() argument 54 switch (spvVersion.vulkan) { in MapToSpirvToolsEnv() 58 switch (spvVersion.spv) { in MapToSpirvToolsEnv() 76 if (spvVersion.openGl > 0) in MapToSpirvToolsEnv()
|
D | SpvBuilder.h | 76 Builder(unsigned int spvVersion, unsigned int userNumber, SpvBuildLogger* logger); 81 unsigned int getSpvVersion() const { return spvVersion; } in getSpvVersion() 794 unsigned int spvVersion; // the version of SPIR-V to emit in the header variable
|
D | SpvBuilder.cpp | 60 Builder::Builder(unsigned int spvVersion, unsigned int magicNumber, SpvBuildLogger* buildLogger) : in Builder() argument 61 spvVersion(spvVersion), in Builder() 2820 if (spvVersion >= Spv_1_4 && isValidInitializer(accessChain.base)) { in accessChainLoad() 2937 out.push_back(spvVersion); in dump()
|
D | GlslangToSpv.cpp | 128 …TGlslangToSpvTraverser(unsigned int spvVersion, const glslang::TIntermediate*, spv::SpvBuildLogger… 1385 TGlslangToSpvTraverser::TGlslangToSpvTraverser(unsigned int spvVersion, in TGlslangToSpvTraverser() argument 1392 …builder(spvVersion, (glslang::GetKhronosToolId() << 16) | glslang::GetSpirvGeneratorVersion(), log… in TGlslangToSpvTraverser()
|