Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KhronosGroup/glslang
/ functions
Functions
3,297 in github.com/KhronosGroup/glslang
⨍
Functions
3,297
◇
Types & classes
393
↓ 1 callers
Method
HasCommit
Check if the repository contains the known-good commit.
update_glslang_sources.py:99
↓ 1 callers
Function
HasMipInCoord
Some texture methods use an addition coordinate dimension for the mip
glslang/HLSL/hlslParseables.cpp:154
↓ 1 callers
Function
ImageFormatString
SPIRV/doc.cpp:550
↓ 1 callers
Function
InitializeSymbolTables
Initialize the full set of shareable symbol tables; The common (cross-stage) and those shareable per-stage.
glslang/MachineIndependent/ShaderLang.cpp:321
↓ 1 callers
Function
IsArrayedTexture
glslang/HLSL/hlslParseables.cpp:64
↓ 1 callers
Function
IsIllegalSample
Reject certain combinations that are illegal sample methods. For example, 3D arrays.
glslang/HLSL/hlslParseables.cpp:78
↓ 1 callers
Function
IsMS
glslang/HLSL/hlslParseables.cpp:66
↓ 1 callers
Function
IsSamplerType
arg order queries
glslang/HLSL/hlslParseables.cpp:60
↓ 1 callers
Function
IsSupportedLongVectorBuiltin
Determine whether this fnCandidate overload is supported for these arguments. Some of this is based on the BaseFunctions table, but for functions not
glslang/MachineIndependent/Initialize.cpp:11851
↓ 1 callers
Function
IsTextureNonMS
glslang/HLSL/hlslParseables.cpp:62
↓ 1 callers
Function
IsValid
This rejects prototypes not normally valid for GLSL and it's way of finding overloaded built-ins under implicit type conversion. It is possible that
glslang/HLSL/hlslParseables.cpp:334
↓ 1 callers
Function
NoArrayCoord
LOD calculations don't pass the array level in the coordinate.
glslang/HLSL/hlslParseables.cpp:160
↓ 1 callers
Function
NonSemanticShaderDebugInfoGetDebugNames
SPIRV/disassemble.cpp:828
↓ 1 callers
Function
OpcodeString
SPIRV/doc.cpp:1170
↓ 1 callers
Function
OutputDouble
Print infinities and NaNs, and numbers in a portable way. Goals: - portable (across IEEE 754 platforms) - shows all possible IEEE values - shows simpl
glslang/MachineIndependent/intermOut.cpp:1114
↓ 1 callers
Function
OutputSpvBin
Write SPIR-V out to a binary file
SPIRV/GlslangToSpv.cpp:11964
↓ 1 callers
Function
OutputSpvHex
Write SPIR-V out to a text file with 32-bit hexadecimal words
SPIRV/GlslangToSpv.cpp:11981
↓ 1 callers
Function
Parameterize
Set up all the parameterizing descriptions of the opcodes, operands, etc.
SPIRV/doc.cpp:1821
↓ 1 callers
Function
PreprocessDeferred
Take a single compilation unit, and run the preprocessor on it. Return: True if there were no issues found in preprocessing, False if during preproces
glslang/MachineIndependent/ShaderLang.cpp:1260
↓ 1 callers
Function
ProcessArguments
Do all command-line argument parsing. This includes building up the work-items to be processed later, and saving all the command-line options. Does
StandAlone/StandAlone.cpp:557
↓ 1 callers
Function
ProcessBlockStorage
Process an optional binding base of one the forms: --argname name {uniform|buffer|push_constant}
StandAlone/StandAlone.cpp:445
↓ 1 callers
Function
ProcessConfigFile
Parse either a .conf file provided by the user or the default from glslang::DefaultTBuiltInResource
StandAlone/StandAlone.cpp:165
↓ 1 callers
Function
ProcessResourceSetBindingBase
StandAlone/StandAlone.cpp:405
↓ 1 callers
Function
PropagateNoContraction
glslang/MachineIndependent/propagateNoContraction.cpp:787
↓ 1 callers
Function
ReadSpvBinaryFile
gtests/TestFixture.cpp:139
↓ 1 callers
Function
RecordProcesses
Most processes are recorded when set in the intermediate representation, These are the few that are not.
glslang/MachineIndependent/ShaderLang.cpp:772
↓ 1 callers
Function
RejectParseDueToLeadingSign
SPIRV/hex_float.h:839
↓ 1 callers
Function
RemoveAllTreeNodes
Entry point.
glslang/MachineIndependent/RemoveTree.cpp:117
↓ 1 callers
Function
SameSpecializationConstants
KHR_vulkan_glsl says "Two arrays sized with specialization constants are the same type only if sized with the same symbol, involving no operations"
glslang/Include/intermediate.h:1904
↓ 1 callers
Function
SetConfigFile
.conf => this is a config file that can set limits/resources
StandAlone/StandAlone.cpp:328
↓ 1 callers
Function
SetupBuiltinSymbolTable
To do this on the fly, we want to leave the current state of our thread's pool allocator intact, so: - Switch to a new pool for parsing the built-ins
glslang/MachineIndependent/ShaderLang.cpp:426
↓ 1 callers
Function
ShCompile
Do a full compile on the given strings for a single compilation unit forming a complete stage. The result of the machine dependent compilation is lef
glslang/MachineIndependent/ShaderLang.cpp:1442
↓ 1 callers
Function
SpirvToolsDisassemble
Use the SPIRV-Tools disassembler to print SPIR-V using a SPV_ENV_UNIVERSAL_1_3 environment.
SPIRV/SpvTools.cpp:127
↓ 1 callers
Function
SpirvToolsStripDebugInfo
Apply the SPIRV-Tools optimizer to strip debug info from SPIR-V. This is implicitly done by SpirvToolsTransform if spvOptions->stripDebugInfo is set,
SPIRV/SpvTools.cpp:300
↓ 1 callers
Function
SpirvToolsTransform
Apply the SPIRV-Tools optimizer to generated SPIR-V. HLSL SPIR-V is legalized in the process.
SPIRV/SpvTools.cpp:185
↓ 1 callers
Function
SpirvToolsValidate
Apply the SPIRV-Tools validator to generated SPIR-V.
SPIRV/SpvTools.cpp:156
↓ 1 callers
Function
TranslateDimensionality
Translate glslang sampler type to SPIR-V dimensionality.
SPIRV/GlslangToSpv.cpp:383
↓ 1 callers
Function
TranslateEnvironment
There are multiple paths in for setting environment stuff. TEnvironment takes precedence, for what it sets, so sort all this out. Ideally, the interna
glslang/MachineIndependent/ShaderLang.cpp:700
↓ 1 callers
Function
TranslateExecutionModel
Translate glslang language (stage) to SPIR-V execution model.
SPIRV/GlslangToSpv.cpp:359
↓ 1 callers
Function
TranslateSourceLanguage
Translate glslang profile to SPIR-V source language.
SPIRV/GlslangToSpv.cpp:337
↓ 1 callers
Function
ValidVersion
See if the tabled versioning information allows the current version.
glslang/MachineIndependent/Initialize.cpp:475
↓ 1 callers
Function
WriteFile
gtests/TestFixture.cpp:165
↓ 1 callers
Method
accessChainPushComponent
push a dynamic component selection onto the access chain, only applicable with a non-trivial swizzle or no swizzle
SPIRV/SpvBuilder.h:949
↓ 1 callers
Method
addBlockStorageOverride
glslang/MachineIndependent/ShaderLang.cpp:1863
↓ 1 callers
Method
addEntryPoint
SPIRV/SpvBuilder.cpp:2353
↓ 1 callers
Method
addError
glslang/MachineIndependent/parseVersions.h:152
↓ 1 callers
Method
addForLoop
Create a for-loop sequence.
glslang/MachineIndependent/Intermediate.cpp:2677
↓ 1 callers
Method
addFunction
SPIRV/spvIR.h:566
↓ 1 callers
Method
addIfNonZero
glslang/MachineIndependent/localintermediate.h:209
↓ 1 callers
Method
addInclude
SPIRV/SpvBuilder.h:184
↓ 1 callers
Method
addIncludeText
glslang/MachineIndependent/localintermediate.h:1145
↓ 1 callers
Method
addInnerSizes
glslang/Include/arrays.h:278
↓ 1 callers
Method
addInstruction
SPIRV/SpvBuilder.cpp:2620
↓ 1 callers
Method
addMemberDecorationIdEXT
SPIRV/SpvBuilder.cpp:2540
↓ 1 callers
Method
addMemberName
SPIRV/SpvBuilder.cpp:2429
↓ 1 callers
Method
addModuleProcessed
SPIRV/SpvBuilder.h:153
↓ 1 callers
Method
addParamPrecision
SPIRV/spvIR.h:504
↓ 1 callers
Method
addPrefix
glslang/MachineIndependent/SymbolTable.h:97
↓ 1 callers
Method
addProcessArgument
glslang/MachineIndependent/localintermediate.h:1152
↓ 1 callers
Method
addProcesses
Log initial settings and transforms. See comment for class TProcesses.
glslang/MachineIndependent/ShaderLang.cpp:1799
↓ 1 callers
Method
addPushConstantCount
glslang/MachineIndependent/localintermediate.h:476
↓ 1 callers
Method
addQualifierToExisting
For an identifier that is already declared, add more qualification to it.
glslang/MachineIndependent/ParseHelper.cpp:11169
↓ 1 callers
Method
addRequestedExtension
glslang/MachineIndependent/localintermediate.h:465
↓ 1 callers
Method
addScopeMangler
Helper function to add the namespace scope mangling syntax to a string.
glslang/HLSL/hlslParseHelper.cpp:9510
↓ 1 callers
Method
addSemanticName
glslang/MachineIndependent/localintermediate.h:1006
↓ 1 callers
Method
addShaderRecordCount
glslang/MachineIndependent/localintermediate.h:863
↓ 1 callers
Method
addShapeConversion
Convert the node's shape of type for the given type, as allowed by the operation involved: 'op'. Generally, the AST represents allowed GLSL shapes, s
glslang/MachineIndependent/Intermediate.cpp:1181
↓ 1 callers
Method
addSourceExtension
SPIRV/SpvBuilder.h:152
↓ 1 callers
Method
addSwitch
Turn the top-level node sequence built up of wrapupSwitchSubsequence9) into a switch node.
glslang/MachineIndependent/ParseHelper.cpp:11677
↓ 1 callers
Method
addSwitch
Turn the top-level node sequence built up of wrapupSwitchSubsequence into a switch node.
glslang/HLSL/hlslParseHelper.cpp:9418
↓ 1 callers
Method
addSymbolLinkageNode
glslang/MachineIndependent/Intermediate.cpp:2798
↓ 1 callers
Method
addSymbolLinkageNodes
glslang/MachineIndependent/Intermediate.cpp:2759
↓ 1 callers
Method
addTaskNVCount
glslang/MachineIndependent/localintermediate.h:864
↓ 1 callers
Method
addTaskPayloadEXTCount
glslang/MachineIndependent/localintermediate.h:865
↓ 1 callers
Method
addThisParameter
Install 'this' as the first parameter. 'this' is reflected in the list of parameters, but not the mangled name.
glslang/MachineIndependent/SymbolTable.h:291
↓ 1 callers
Method
addUniformLocationOverride
glslang/MachineIndependent/ShaderLang.cpp:1850
↓ 1 callers
Method
addUsedLocation
Accumulate locations used for inputs, outputs, and uniforms, payload, callable data, and tileImageEXT and check for collisions as the accumulation is
glslang/MachineIndependent/linkValidate.cpp:1970
↓ 1 callers
Method
addUsedOffsets
Accumulate bindings and offsets, and check for collisions as the accumulation is done. Returns < 0 if no collision, >= 0 if collision and the value r
glslang/MachineIndependent/linkValidate.cpp:2168
↓ 1 callers
Method
addXfbBufferOffset
Accumulate xfb buffer ranges and check for collisions as the accumulation is done. Returns < 0 if no collision, >= 0 if collision and the value retur
glslang/MachineIndependent/linkValidate.cpp:2294
↓ 1 callers
Method
adoptImplicitArraySizes
Recursively make the implicit array size the explicit array size. Expicit arrays are compile-time or link-time sized, never run-time sized. Sometimes,
glslang/Include/Types.h:2235
↓ 1 callers
Method
amendSymbolIdLevel
Update the level info in symbol's unique ID to current level
glslang/MachineIndependent/SymbolTable.h:754
↓ 1 callers
Method
arrayIndexCheck
Both test, and if necessary spit out an error, to see if the node is really supported as an array index.
glslang/MachineIndependent/ParseHelper.cpp:4259
↓ 1 callers
Method
arrayQualifierError
See if this qualifier can be an array. Returns true if there is an error.
glslang/MachineIndependent/ParseHelper.cpp:5561
↓ 1 callers
Method
arraySizeCheck
Do size checking for an array type's size.
glslang/HLSL/hlslParseHelper.cpp:6855
↓ 1 callers
Method
assignError
Same error message for all places assignments don't work.
glslang/MachineIndependent/ParseHelper.cpp:4023
↓ 1 callers
Method
atEndOfInput
glslang/MachineIndependent/Scan.h:208
↓ 1 callers
Method
attributeFromName
Map the given string to an attribute enum from TAttributeType, or EatNone if invalid.
glslang/HLSL/hlslAttributes.cpp:42
↓ 1 callers
Function
badReflection
glslang/Public/ShaderLang.h:758
↓ 1 callers
Method
beginCollect
glslang/MachineIndependent/iomapper.cpp:1273
↓ 1 callers
Method
beginParameterParsing
glslang/HLSL/hlslParseHelper.h:188
↓ 1 callers
Method
binaryOpError
Same error message for all binary operations don't work.
glslang/HLSL/hlslParseHelper.cpp:6493
↓ 1 callers
Method
bufferReferenceNeedsVulkanMemoryModel
glslang/Include/Types.h:639
↓ 1 callers
Method
buildConvertOp
glslang/MachineIndependent/Intermediate.cpp:581
↓ 1 callers
Function
c_shader_client_version
glslang/CInterface/glslang_c_interface.cpp:264
↓ 1 callers
Function
c_shader_profile
glslang/CInterface/glslang_c_interface.cpp:306
↓ 1 callers
Function
c_shader_source
glslang/CInterface/glslang_c_interface.cpp:292
↓ 1 callers
Function
c_shader_stage
SPIRV/CInterface/spirv_c_interface.cpp:49
↓ 1 callers
Function
c_shader_target_language
glslang/CInterface/glslang_c_interface.cpp:284
↓ 1 callers
Function
c_shader_target_language_version
glslang/CInterface/glslang_c_interface.cpp:226
↓ 1 callers
Method
changeFront
glslang/Include/arrays.h:121
← previous
next →
1,101–1,200 of 3,297, ranked by callers