/third_party/glslang/glslang/MachineIndependent/ |
D | Initialize.cpp | 155 const Versioning Es300Desktop130Version[] = { { EEsProfile, 0, 300, 0, nullptr }, 160 const Versioning Es310Desktop420Version[] = { { EEsProfile, 0, 310, 0, nullptr }, 165 const Versioning Es310Desktop450Version[] = { { EEsProfile, 0, 310, 0, nullptr }, 472 if ((profile == EEsProfile && version >= 320) || (profile != EEsProfile && version >= 450)) in addTabledBuiltins() 486 …return profile != EEsProfile && (version <= 130 || (spvVersion.spv == 0 && ARBCompatibility) || pr… in IncludeLegacy() 549 profile = EEsProfile; in initialize() 702 if (profile != EEsProfile && version >= 150) { // ARB_gpu_shader_fp64 in initialize() 932 if (profile != EEsProfile && version >= 450) { in initialize() 1091 if (profile != EEsProfile && version >= 430) { in initialize() 1188 if ((profile == EEsProfile && version >= 310) || in initialize() [all …]
|
D | ShaderLang.cpp | 188 case EEsProfile: index = 3; break; in MapProfileToIndex() 284 return (profile == EEsProfile && language == EShLangFragment) ? EPcFragment : EPcGeneral; in CommonIndex() 295 profile = EEsProfile; in InitializeStageSymbolTable() 306 if (profile == EEsProfile && version >= 300) in InitializeStageSymbolTable() 319 profile = EEsProfile; in InitializeSymbolTables() 336 if (profile == EEsProfile) in InitializeSymbolTables() 350 if ((profile != EEsProfile && version >= 150) || in InitializeSymbolTables() 351 (profile == EEsProfile && version >= 310)) { in InitializeSymbolTables() 359 if ((profile != EEsProfile && version >= 150) || in InitializeSymbolTables() 360 (profile == EEsProfile && version >= 310)) in InitializeSymbolTables() [all …]
|
D | ParseHelper.cpp | 490 requireProfile(base->getLoc(), ~EEsProfile, "variable indexing buffer block array"); in handleBracketDereference() 492 … profileRequires(base->getLoc(), EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, in handleBracketDereference() 498 … requireProfile(base->getLoc(), ~EEsProfile, "variable indexing fragment shader output array"); in handleBracketDereference() 501 … requireProfile(base->getLoc(), EEsProfile | ECoreProfile | ECompatibilityProfile, explanation); in handleBracketDereference() 502 …profileRequires(base->getLoc(), EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, explanation… in handleBracketDereference() 809 profileRequires(loc, EEsProfile, 300, nullptr, ".length"); in handleDotDereference() 812 requireProfile(loc, ~EEsProfile, feature); in handleDotDereference() 813 profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, feature); in handleDotDereference() 891 requireProfile(loc, ~EEsProfile, dotFeature); in handleDotSwizzle() 892 profileRequires(loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, dotFeature); in handleDotSwizzle() [all …]
|
D | parseVersions.h | 73 const EProfile profile = EEsProfile; 77 if (! (EEsProfile & profileMask)) in requireProfile() 83 if ((EEsProfile & profileMask) && (minVersion == 0 || version < minVersion)) in profileRequires() 127 bool isEsProfile() const { return profile == EEsProfile; } in isEsProfile()
|
D | Versions.h | 61 EEsProfile = (1 << 3), enumerator 76 case EEsProfile: return "es"; in ProfileName()
|
D | glslang.y | 1000 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "arrayed type"); 1015 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "arrayed type"); 1148 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "arrayed type"); 1158 parseContext.profileRequires($2.loc, EEsProfile, 300, 0, "arrayed type"); 1191 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "smooth"); 1198 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "flat"); 1205 …parseContext.profileRequires($1.loc, EEsProfile, 0, E_GL_NV_shader_noperspective_interpolation, "n… 1221 …parseContext.profileRequires($1.loc, EEsProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment… 1288 …parseContext.profileRequires($1.loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, "preci… 1363 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "centroid"); [all …]
|
D | glslang.m4 | 1000 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "arrayed type"); 1015 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "arrayed type"); 1148 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "arrayed type"); 1158 parseContext.profileRequires($2.loc, EEsProfile, 300, 0, "arrayed type"); 1191 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "smooth"); 1198 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "flat"); 1205 …parseContext.profileRequires($1.loc, EEsProfile, 0, E_GL_NV_shader_noperspective_interpolation, "n… 1221 …parseContext.profileRequires($1.loc, EEsProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment… 1288 …parseContext.profileRequires($1.loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, "preci… 1363 parseContext.profileRequires($1.loc, EEsProfile, 300, 0, "centroid"); [all …]
|
D | glslang_tab.cpp | 5307 … parseContext.profileRequires((yyvsp[-1].interm.type).loc, EEsProfile, 300, 0, "arrayed type"); in yyparse() 5327 … parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type"); in yyparse() 5518 … parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type"); in yyparse() 5533 … parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type"); in yyparse() 5570 parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "smooth"); in yyparse() 5582 parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "flat"); in yyparse() 5593 …parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_shader_noperspective_inter… in yyparse() 5619 …parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_fragment_shader_barycentri… in yyparse() 5723 …parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_sha… in yyparse() 5856 parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "centroid"); in yyparse() [all …]
|
D | Versions.cpp | 1001 profileRequires(loc, EEsProfile, 320, 0, "#extension GL_NV_mesh_shader"); in checkExtensionStage() 1027 profileRequires(loc, EEsProfile, 300, nullptr, op); in fullIntegerCheck()
|
D | localintermediate.h | 586 bool isEsProfile() const { return profile == EEsProfile; } in isEsProfile()
|
D | Scan.cpp | 268 profile = EEsProfile; in scanVersion()
|
/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
D | PpScanner.cpp | 306 … parseContext.profileRequires(ppToken->loc, EEsProfile, 300, nullptr, "floating-point suffix"); in lFloatConst() 308 … parseContext.profileRequires(ppToken->loc, ~EEsProfile, 120, nullptr, "floating-point suffix"); in lFloatConst() 620 pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile, in scan() 622 pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0, in scan() 630 pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile, in scan() 632 pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0, in scan() 734 pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile, in scan() 736 pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0, in scan() 744 pp->parseContext.requireProfile(ppToken->loc, ~EEsProfile, in scan() 746 pp->parseContext.profileRequires(ppToken->loc, ~EEsProfile, 0, in scan() [all …]
|
D | PpTokens.cpp | 123 parseContext.requireProfile(ppToken->loc, ~EEsProfile, "token pasting (##)"); in getToken() 124 parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, 0, "token pasting (##)"); in getToken()
|
/third_party/glslang/glslang/CInterface/ |
D | glslang_c_interface.cpp | 315 return EEsProfile; in c_shader_profile()
|
/third_party/skia/third_party/externals/tint/samples/ |
D | main.cc | 899 shader.parse(&glslang::DefaultTBuiltInResource, 310, EEsProfile, in GenerateGlsl()
|
/third_party/glslang/SPIRV/ |
D | GlslangToSpv.cpp | 297 case EEsProfile: in TranslateSourceLanguage()
|