/third_party/glslang/glslang/MachineIndependent/ |
H A D | Initialize.h | 64 virtual void initialize(int version, EProfile, const SpvVersion& spvVersion) = 0; 65 virtual void initialize(const TBuiltInResource& resources, int version, EProfile, const SpvVersion& spvVersion, EShLanguage) = 0; 69 virtual void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable) = 0; 70 virtual void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable, const TBuiltInResource &resources) = 0; 87 void initialize(int version, EProfile, const SpvVersion& spvVersion); 88 void initialize(const TBuiltInResource& resources, int version, EProfile, const SpvVersion& spvVersion, EShLanguage); 90 void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable); 91 void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable, const TBuiltInResource &resources); 94 void addTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion); 95 void relateTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguag [all...] |
H A D | ShaderLang.cpp | 108 SpvVersion spvVersion, bool forwardCompatible, EShMessages messages, in CreateParseContext() 116 return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext() 121 return new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext() 167 int MapSpvVersionToIndex(const SpvVersion& spvVersion) 171 if (spvVersion.openGl > 0) 173 else if (spvVersion.vulkan > 0) { 174 if (!spvVersion.vulkanRelaxed) 244 bool InitializeSymbolTable(const TString& builtIns, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, 252 language, infoSink, spvVersion, true, EShMsgDefault, 297 void InitializeStageSymbolTable(TBuiltInParseables& builtInParseables, int version, EProfile profile, const SpvVersion& spvVersion, in InitializeStageSymbolTable() argument 105 CreateParseContext(TSymbolTable& symbolTable, TIntermediate& intermediate, int version, EProfile profile, EShSource source, EShLanguage language, TInfoSink& infoSink, SpvVersion spvVersion, bool forwardCompatible, EShMessages messages, bool parsingBuiltIns, std::string sourceEntryPointName = �) CreateParseContext() argument 315 InitializeSymbolTables(TInfoSink& infoSink, TSymbolTable** commonTable, TSymbolTable** symbolTables, int version, EProfile profile, const SpvVersion& spvVersion, EShSource source) InitializeSymbolTables() argument 391 AddContextSpecificSymbols(const TBuiltInResource* resources, TInfoSink& infoSink, TSymbolTable& symbolTable, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, EShSource source) AddContextSpecificSymbols() argument 418 SetupBuiltinSymbolTable(int version, EProfile profile, const SpvVersion& spvVersion, EShSource source) SetupBuiltinSymbolTable() argument 491 DeduceVersionProfile(TInfoSink& infoSink, EShLanguage stage, bool versionNotFirst, int defaultVersion, EShSource source, int& version, EProfile& profile, const SpvVersion& spvVersion) DeduceVersionProfile() argument 680 TranslateEnvironment(const TEnvironment* environment, EShMessages& messages, EShSource& source, EShLanguage& stage, SpvVersion& spvVersion) TranslateEnvironment() argument 840 SpvVersion spvVersion; ProcessDeferred() local [all...] |
H A D | parseVersions.h | 58 const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, in TParseVersions() 65 spvVersion(spvVersion), in TParseVersions() 163 SpvVersion spvVersion; member in glslang::TParseVersions 57 TParseVersions(TIntermediate& interm, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, bool forwardCompatible, EShMessages messages) TParseVersions() argument
|
H A D | Initialize.cpp | 437 void TBuiltIns::addTabledBuiltins(int version, EProfile profile, const SpvVersion& spvVersion) in addTabledBuiltins() argument 441 if (ValidVersion(*function, version, profile, spvVersion)) in addTabledBuiltins() 455 void TBuiltIns::relateTabledBuiltins(int /* version */, EProfile /* profile */, const SpvVersion& /* spvVersion */, EShLanguage /* stage */, TSymbolTable& symbolTable) in relateTabledBuiltins() 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 && ARBCompatibility) || 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 in initialize() 6272 add2ndGenerationSamplingImaging(int version, EProfile profile, const SpvVersion& spvVersion) add2ndGenerationSamplingImaging() argument 7238 initialize(const TBuiltInResource &resources, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language) initialize() argument 7841 identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable) identifyBuiltIns() argument 10212 identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable, const TBuiltInResource &resources) identifyBuiltIns() argument [all...] |
H A D | Versions.cpp | 588 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 in requireVulkan() [all...] |
H A D | localintermediate.h | 379 spvVersion = s; 382 if (spvVersion.vulkan > 0) 384 if (spvVersion.openGl > 0) 388 switch (spvVersion.spv) { 417 switch (spvVersion.vulkan) { 436 if (spvVersion.openGl > 0) 439 const SpvVersion& getSpv() const { return spvVersion; } 1140 SpvVersion spvVersion;
|
H A D | attribute.cpp | 291 if (spvVersion.spv > 0 && spvVersion.spv < EShTargetSpv_1_4) in handleLoopAttributes()
|
H A D | ParseHelper.cpp | 54 int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, in TParseContext() 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 in growAtomicCounterBlock() 53 TParseContext(TSymbolTable& symbolTable, TIntermediate& interm, bool parsingBuiltins, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, bool forwardCompatible, EShMessages messages, const TString* entryPoint) TParseContext() argument [all...] |
H A D | ParseHelper.h | 80 EProfile profile, const SpvVersion& spvVersion, EShLanguage language, in TParseContextBase() 83 : TParseVersions(interm, version, profile, spvVersion, language, infoSink, forwardCompatible, messages), in TParseContextBase() 99 if (spvVersion.spv >= EShTargetSpv_1_3) in TParseContextBase() 308 TParseContext(TSymbolTable&, TIntermediate&, bool parsingBuiltins, int version, EProfile, const SpvVersion& spvVersion, EShLanguage, TInfoSink&, 79 TParseContextBase(TSymbolTable& symbolTable, TIntermediate& interm, bool parsingBuiltins, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, bool forwardCompatible, EShMessages messages, const TString* entryPoint = nullptr) TParseContextBase() argument
|
H A D | linkValidate.cpp | 184 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.vulkan > 0) in addUsedLocation()
|
H A D | Scan.cpp | 1478 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()
|
/third_party/glslang/glslang/HLSL/ |
H A D | hlslParseables.h | 51 void initialize(int version, EProfile, const SpvVersion& spvVersion); 52 void initialize(const TBuiltInResource& resources, int version, EProfile, const SpvVersion& spvVersion, EShLanguage); 54 void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable); 56 void identifyBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable, const TBuiltInResource &resources);
|
H A D | hlslParseHelper.h | 52 int version, EProfile, const SpvVersion& spvVersion, EShLanguage, TInfoSink&,
|
H A D | hlslParseHelper.cpp | 57 int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, in HlslParseContext() 61 TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, infoSink, in HlslParseContext() 7431 if (spvVersion.spv != 0) { in setLayoutQualifier() 56 HlslParseContext(TSymbolTable& symbolTable, TIntermediate& interm, bool parsingBuiltins, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, const TString sourceEntryPointName, bool forwardCompatible, EShMessages messages) HlslParseContext() argument
|
/third_party/glslang/SPIRV/ |
H A D | SpvTools.cpp | 51 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()
|
H A D | SpvTools.h | 59 spv_target_env MapToSpirvToolsEnv(const SpvVersion& spvVersion, spv::SpvBuildLogger* logger);
|
H A D | SpvBuilder.h | 80 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 member in spv::Builder
|
H A D | SpvBuilder.cpp | 57 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()
|
H A D | GlslangToSpv.cpp | 124 TGlslangToSpvTraverser(unsigned int spvVersion, const glslang::TIntermediate*, spv::SpvBuildLogger* logger, 1533 TGlslangToSpvTraverser::TGlslangToSpvTraverser(unsigned int spvVersion, in TGlslangToSpvTraverser() argument 1540 builder(spvVersion, (glslang::GetKhronosToolId() << 16) | glslang::GetSpirvGeneratorVersion(), logger), in TGlslangToSpvTraverser()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktAtomicOperationTests.cpp | 1036 const auto spvVersion = (useSpv14 ? vk::SPIRV_VERSION_1_4 : vk::SPIRV_VERSION_1_0); in initPrograms() local 1037 const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, spvVersion, 0u, useSpv14); in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktAtomicOperationTests.cpp | 1037 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, useSpv14); in initPrograms()
|