Home
last modified time | relevance | path

Searched refs:EShLanguage (Results 1 – 25 of 44) sorted by relevance

12

/third_party/glslang/glslang/MachineIndependent/
Diomapper.h62 EShLanguage stage;
138 void notifyBinding(EShLanguage, TVarEntryInfo& /*ent*/) override {} in notifyBinding()
139 void notifyInOut(EShLanguage, TVarEntryInfo& /*ent*/) override {} in notifyInOut()
140 void beginNotifications(EShLanguage) override {} in beginNotifications()
141 void endNotifications(EShLanguage) override {} in endNotifications()
142 void beginResolve(EShLanguage) override {} in beginResolve()
143 void endResolve(EShLanguage) override {} in endResolve()
144 void beginCollect(EShLanguage) override {} in beginCollect()
145 void endCollect(EShLanguage) override {} in endCollect()
148 int getBaseBinding(EShLanguage stage, TResourceType res, unsigned int set) const;
[all …]
DInitialize.h65 …TBuiltInResource& resources, int version, EProfile, const SpvVersion& spvVersion, EShLanguage) = 0;
67 …virtual const TString& getStageString(EShLanguage language) const { return stageBuiltins[language]… in getStageString()
69 …yBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymb…
70 …yBuiltIns(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymb…
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…
95 …dBuiltins(int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage, TSymbolTable&);
Dreflection.h58 TReflection(EShReflectionOptions opts, EShLanguage first, EShLanguage last) in TReflection()
68 bool addStage(EShLanguage, const TIntermediate&);
177 void buildAttributeReflection(EShLanguage, const TIntermediate&);
199 EShLanguage firstStage;
200 EShLanguage lastStage;
Diomapper.cpp158 EShLanguage stage;
160 inline TNotifyUniformAdaptor(EShLanguage s, TIoMapResolver& r) in TNotifyUniformAdaptor()
177 EShLanguage stage;
179 inline TNotifyInOutAdaptor(EShLanguage s, TIoMapResolver& r) in TNotifyInOutAdaptor()
195 …TResolverUniformAdaptor(EShLanguage s, TIoMapResolver& r, TVarLiveMap* uniform[EShLangCount], TInf… in TResolverUniformAdaptor()
257 inline void setStage(EShLanguage s) { stage = s; } in setStage()
259 EShLanguage stage;
269 TResolverInOutAdaptor(EShLanguage s, TIoMapResolver& r, TInfoSink& i, bool& e) in TResolverInOutAdaptor()
300 inline void setStage(EShLanguage s) { stage = s; } in setStage()
302 EShLanguage stage;
[all …]
DShaderLang.cpp107 EShLanguage language, TInfoSink& infoSink, in CreateParseContext()
244 …tring& builtIns, int version, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, in InitializeSymbolTable()
289 int CommonIndex(EProfile profile, EShLanguage language) in CommonIndex()
298EShLanguage language, EShSource source, TInfoSink& infoSink, TSymbolTable** commonTable, in InitializeStageSymbolTable()
392 … EProfile profile, const SpvVersion& spvVersion, EShLanguage language, EShSource source) in AddContextSpecificSymbols()
464 …rsionIndex][spvVersionIndex][profileIndex][sourceIndex][CommonIndex(profile, (EShLanguage)stage)]); in SetupBuiltinSymbolTable()
491 bool DeduceVersionProfile(TInfoSink& infoSink, EShLanguage stage, bool versionNotFirst, int default… in DeduceVersionProfile()
681 EShLanguage& stage, SpvVersion& spvVersion) in TranslateEnvironment()
841 EShLanguage stage = compiler->getLanguage(); in ProcessDeferred()
1332 ShHandle ShConstructCompiler(const EShLanguage language, int /*debugOptions unused*/) in ShConstructCompiler()
[all …]
DparseVersions.h58 const SpvVersion& spvVersion, EShLanguage language, TInfoSink& infoSink, in TParseVersions()
69 void requireStage(const TSourceLoc&, EShLanguage, const char* featureDesc);
162 EShLanguage language; // really the stage
Dlocalintermediate.h293 explicit TIntermediate(EShLanguage l, int v = 0, EProfile p = ENoProfile) :
440 EShLanguage getStage() const { return language; } in getStage()
456 bool postProcess(TIntermNode*, EShLanguage);
582 void addSymbolLinkageNodes(TIntermAggregate*& linkage, EShLanguage, TSymbolTable&);
1044 static int computeTypeLocationSize(const TType&, EShLanguage);
1056 static bool isIoResizeArray(const TType& type, EShLanguage language);
1100 void error(TInfoSink& infoSink, const char*, EShLanguage unitStage = EShLangCount);
1101 void warn(TInfoSink& infoSink, const char*, EShLanguage unitStage = EShLangCount);
1108 …TInfoSink&, TIntermSequence& linkerObjects, const TIntermSequence& unitLinkerObjects, EShLanguage);
1111 void mergeErrorCheck(TInfoSink&, const TIntermSymbol&, const TIntermSymbol&, EShLanguage);
[all …]
DlinkValidate.cpp58 void TIntermediate::error(TInfoSink& infoSink, const char* message, EShLanguage unitStage) in error()
70 void TIntermediate::warn(TInfoSink& infoSink, const char* message, EShLanguage unitStage) in warn()
514 …ine bool isSameInterface(TIntermSymbol* symbol, EShLanguage stage, TIntermSymbol* unitSymbol, EShL… in isSameInterface()
705 …k, TIntermSequence& linkerObjects, const TIntermSequence& unitLinkerObjects, EShLanguage unitStage) in mergeLinkerObjects()
850 …ink& infoSink, const TIntermSymbol& symbol, const TIntermSymbol& unitSymbol, EShLanguage unitStage) in mergeErrorCheck()
1823 int TIntermediate::computeTypeLocationSize(const TType& type, EShLanguage stage) in computeTypeLocationSize()
2374 bool TIntermediate::isIoResizeArray(const TType& type, EShLanguage language) { in isIoResizeArray()
DParseHelper.h80 EProfile profile, const SpvVersion& spvVersion, EShLanguage language,
120 EShLanguage getLanguage() const { return language; } in getLanguage()
308 …bool parsingBuiltins, int version, EProfile, const SpvVersion& spvVersion, EShLanguage, TInfoSink&,
/third_party/glslang/glslang/Public/
DShaderLang.h116 } EShLanguage; // would be better as stage, but this is ancient now typedef
193EShLanguage stage; // redundant information with other input, this one overrides when not E…
219 GLSLANG_EXPORT const char* StageName(EShLanguage);
321 GLSLANG_EXPORT ShHandle ShConstructCompiler(const EShLanguage, int /*debugOptions unused*/); // one…
461 GLSLANG_EXPORT explicit TShader(EShLanguage);
541 void setEnvInput(EShSource lang, EShLanguage envStage, EShClient client, int version) in setEnvInput()
691 EShLanguage getStage() const { return stage; } in getStage()
696 EShLanguage stage;
802 virtual bool validateBinding(EShLanguage stage, TVarEntryInfo& ent) = 0;
805 virtual int resolveBinding(EShLanguage stage, TVarEntryInfo& ent) = 0;
[all …]
/third_party/glslang/gtests/
DVkRelaxed.FromFile.cpp80 if (program.getIntermediate((EShLanguage)s)) { in verifyIOMapping()
81 …eReflections.emplace_back((EShReflectionOptions)reflectionOptions, (EShLanguage)s, (EShLanguage)s); in verifyIOMapping()
82 …success &= stageReflections.back().addStage((EShLanguage)s, *program.getIntermediate((EShLanguage)… in verifyIOMapping()
242 while (!program.getIntermediate((EShLanguage)stage) && stage < EShLangCount) { stage++; } in TEST_P()
243 firstIntermediate = program.getIntermediate((EShLanguage)stage); in TEST_P()
259 if (program.getIntermediate((EShLanguage)stage)) { in TEST_P()
263 glslang::GlslangToSpv(*program.getIntermediate((EShLanguage)stage), in TEST_P()
DGlslMapIO.FromFile.cpp80 if (program.getIntermediate((EShLanguage)s)) { in verifyIOMapping()
81 …eReflections.emplace_back((EShReflectionOptions)reflectionOptions, (EShLanguage)s, (EShLanguage)s); in verifyIOMapping()
82 …success &= stageReflections.back().addStage((EShLanguage)s, *program.getIntermediate((EShLanguage)… in verifyIOMapping()
289 while (!program.getIntermediate((EShLanguage)stage) && stage < EShLangCount) { stage++; } in TEST_P()
290 firstIntermediate = program.getIntermediate((EShLanguage)stage); in TEST_P()
306 if (program.getIntermediate((EShLanguage)stage)) { in TEST_P()
310 glslang::GlslangToSpv(*program.getIntermediate((EShLanguage)stage), in TEST_P()
DTestFixture.h84 EShLanguage GetShaderStage(const std::string& stage);
224 const EShLanguage stage = GetShaderStage(GetSuffix(shaderName));
322 const EShLanguage stage = GetShaderStage(GetSuffix(shaderName)); in compileLinkIoMap()
374 const EShLanguage stage = GetShaderStage(GetSuffix(shaderName));
/third_party/glslang/glslang/HLSL/
DhlslParseables.h52 …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…
/third_party/glslang/glslang/Include/
DShHandle.h91 …TCompiler(EShLanguage l, TInfoSink& sink) : infoSink(sink) , language(l), haveValidObjectCode(fals… in TCompiler()
93 EShLanguage getLanguage() { return language; } in getLanguage()
105 EShLanguage language;
164 TCompiler* ConstructCompiler(EShLanguage, int);
/third_party/skia/third_party/externals/swiftshader/tests/VulkanBenchmarks/
DTriangleBenchmarks.cpp69 return tester.createShaderModule(vertexShader, EShLanguage::EShLangVertex); in TriangleSolidColor()
83 return tester.createShaderModule(fragmentShader, EShLanguage::EShLangFragment); in TriangleSolidColor()
126 return tester.createShaderModule(vertexShader, EShLanguage::EShLangVertex); in TriangleInterpolateColor()
142 return tester.createShaderModule(fragmentShader, EShLanguage::EShLangFragment); in TriangleInterpolateColor()
184 return tester.createShaderModule(vertexShader, EShLanguage::EShLangVertex); in TriangleSampleTexture()
200 return tester.createShaderModule(fragmentShader, EShLanguage::EShLangFragment); in TriangleSampleTexture()
/third_party/glslang/glslang/GenericCodeGen/
DCodeGen.cpp44 TGenericCompiler(EShLanguage l) : TCompiler(l, infoSink) {} in TGenericCompiler()
54 TCompiler* ConstructCompiler(EShLanguage language, int) in ConstructCompiler()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
DDrawTests.cpp57 return tester.createShaderModule(vertexShader, EShLanguage::EShLangVertex); in TEST_F()
71 return tester.createShaderModule(fragmentShader, EShLanguage::EShLangFragment); in TEST_F()
/third_party/glslang/glslang/OSDependent/Web/
Dglslang.js.cpp211 EShLanguage stage = static_cast<EShLanguage>(stage_int); in convert_glsl_to_spirv()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcSpirvUtils.cpp58 EShLanguage getGlslangStage(glu::ShaderType type) in getGlslangStage()
60 static const EShLanguage stageMap[] = { in getGlslangStage()
222 const EShLanguage shaderStage = getGlslangStage(type); in compileGlslToSpirV()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkShaderToSpirV.cpp49 EShLanguage getGlslangStage (glu::ShaderType type) in getGlslangStage()
51 static const EShLanguage stageMap[] = in getGlslangStage()
288 const EShLanguage shaderStage = getGlslangStage(glu::ShaderType(shaderType)); in compileShaderToSpirV()
/third_party/glslang/StandAlone/
DStandAlone.cpp141 EShLanguage FindLanguage(const std::string& name, bool parseSuffix=true);
293 const char* GetBinaryName(EShLanguage stage) in GetBinaryName()
360 EShLanguage lang = EShLangCount; in ProcessBindingBase()
411 const EShLanguage lang = FindLanguage(argv[1], false); in ProcessResourceSetBindingBase()
1223 EShLanguage stage;
1230 ShaderCompUnit(EShLanguage stage) : stage(stage), count(0) { } in ShaderCompUnit()
1511 if (auto* i = program.getIntermediate((EShLanguage)stage)) { in CompileAndLinkShaderUnits()
1790 EShLanguage FindLanguage(const std::string& name, bool parseStageName) in FindLanguage()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DUtil.hpp35 std::vector<uint32_t> compileGLSLtoSPIRV(const char *glslSource, EShLanguage glslLanguage);
/third_party/glslang/SPIRV/CInterface/
Dspirv_c_interface.cpp47 static EShLanguage c_shader_stage(glslang_stage_t stage) in c_shader_stage()
/third_party/ffmpeg/libavfilter/
Dglslang.cpp158 static const EShLanguage lang[] = { in glslang_compile()

12