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
Method
blockStorageRemap
allow storage type of block to be remapped at compile time
glslang/MachineIndependent/ParseHelper.cpp:10787
Method
blowUpActiveAggregate
Traverse the provided deref chain, including the base, and - build a full reflection-granularity name, array size, etc. entry out of it, if it goes do
glslang/MachineIndependent/reflection.cpp:249
Method
blowUpIOAggregate
similar to blowUpActiveAggregate, but with simpler rules and no dereferences to follow.
glslang/MachineIndependent/reflection.cpp:482
Method
buildAttributeReflection
Track any required attribute reflection, such as compute shader numthreads.
glslang/MachineIndependent/reflection.cpp:1137
Method
buildCounterIndices
build counter block index associations for buffers
glslang/MachineIndependent/reflection.cpp:1149
Method
buildMangledName
Recursively generate mangled names.
glslang/MachineIndependent/SymbolTable.cpp:56
Method
buildStorageKey
in/out symbol and uniform symbol are stored in the same resourceSlotMap, the storage key is used to identify each type of symbol. We use stage and sto
glslang/MachineIndependent/iomapper.h:195
Method
buildUniformStageMask
build Shader Stages mask for all uniforms
glslang/MachineIndependent/reflection.cpp:1166
Method
builtInName
glslang/MachineIndependent/ParseHelper.cpp:4380
Method
builtInName
glslang/HLSL/hlslParseHelper.cpp:6558
Method
builtInOpCheck
glslang/MachineIndependent/ParseHelper.cpp:2898
Method
builtInOpCheck
Do additional checking of built-in function calls that is not caught by normal semantic checks on argument type, extension tagging, etc. Assumes ther
glslang/HLSL/hlslParseHelper.cpp:6068
Method
captureBlockTokens
Get the stream of tokens from the scanner, but skip all syntactic/semantic processing.
glslang/HLSL/hlslGrammar.cpp:4431
Method
checkAndResizeMeshViewDim
Check if mesh perviewNV attributes have a view dimension and resize it to gl_MaxMeshViewCountNV when implicitly sized.
glslang/MachineIndependent/ParseHelper.cpp:5866
Method
checkCallGraphBodies
See which functions are reachable from the entry point and which have bodies. Reachable ones with missing bodies are errors. Unreachable bodies are de
glslang/MachineIndependent/linkValidate.cpp:1823
Method
checkCallGraphCycles
See if the call graph contains any static recursion, which is disallowed by the specification.
glslang/MachineIndependent/linkValidate.cpp:1741
Method
checkEmpty
glslang/MachineIndependent/iomapper.cpp:895
Method
checkEqAndUpdateIfRequested
Checks the equality of |expected| and |real|. If they are not equal, write |real| to the given file named as |fname| if update mode is on.
gtests/TestFixture.h:142
Method
checkExtensionStage
Check if extension is used with correct shader stage.
glslang/MachineIndependent/Versions.cpp:1179
Method
checkExtensionsRequested
Returns true if at least one of the extensions in the extensions parameter is requested. Otherwise, returns false. Warns appropriately if the requeste
glslang/MachineIndependent/Versions.cpp:912
Method
checkGuardBlock
glslang/MachineIndependent/PoolAlloc.cpp:147
Method
checkIndex
Ensure index is in bounds, correct if necessary. Give an error if not.
glslang/MachineIndependent/ParseContextBase.cpp:285
Method
checkIoArrayConsistency
glslang/MachineIndependent/ParseHelper.cpp:887
Method
checkIoArraysConsistency
If there has been an input primitive declaration (geometry shader) or an output number of vertices declaration(tessellation shader), make sure all inp
glslang/MachineIndependent/ParseHelper.cpp:815
Method
checkLocation
See if the operation is being done in an illegal location.
glslang/MachineIndependent/ParseHelper.cpp:2427
Method
checkLocationOverlap
In case we need to new an intermediate, which costs too much
glslang/MachineIndependent/iomapper.cpp:514
Method
checkLocationRange
Compare a new (the passed in) 'range' against the existing set, and see if there are any collisions. Returns < 0 if no collision, >= 0 if collision a
glslang/MachineIndependent/linkValidate.cpp:2118
Method
checkMem
glslang/Include/InfoSink.h:152
Method
checkRuntimeSizable
Policy and error check for needing a runtime sized array.
glslang/MachineIndependent/ParseHelper.cpp:5796
Method
clear
glslang/Include/Types.h:510
Method
clearMemory
glslang/Include/Types.h:565
Method
clearReturnStruct
glslang/Include/Types.h:105
Method
clearUniform
Potentially not the opposite of hasUniform(), as if some characteristic is ever used for more than one thing (e.g., uniform or input), hasUniform() sh
glslang/HLSL/hlslParseHelper.cpp:9525
Method
clearUniformInputOutput
Clear out all IO/Uniform stuff, so this has nothing to do with being an IO interface.
glslang/HLSL/hlslParseHelper.cpp:9720
Method
clone
glslang/Include/ConstantUnion.h:902
Method
collapseAccessChain
Turn the described access chain in 'accessChain' into an instruction(s) computing its address. This *cannot* include complex swizzles, which must be
SPIRV/SpvBuilder.cpp:4926
Method
collectRayTracingLinkerObjects
Walk over all linker objects to create a map for payload and callable data linker objects and their location to be used during codegen for OpTraceKHR
SPIRV/GlslangToSpv.cpp:7057
Function
command_retval
Runs a command in a directory and returns its return value. Captures the standard error stream.
update_glslang_sources.py:58
Method
compile
Generate code from the given parse tree
glslang/GenericCodeGen/CodeGen.cpp:67
Method
compileAndLink
Compiles and links the given source |code| of the given shader |stage| into the target under the semantics specified via |controls|. Returns a Glslang
gtests/TestFixture.h:245
Method
compileLinkIoMap
Compiles and links the given source |code| of the given shader |stage| into the target under the semantics specified via |controls|. Returns a Glslang
gtests/TestFixture.h:351
Function
compileShaderToSPIRV_Vulkan
Test/find_package/example.c:48
Method
compileShaderToSpirv
Helper function to compile shader and get SPIR-V disassembly.
gtests/SpvPatternTest.cpp:43
Method
compileShouldFailWith
Helper function to compile shader and check for specific error message.
gtests/UboUnsizedArray.cpp:31
Method
compileWithDebugInfo
Compile a GLSL compute shader with NonSemantic debug info enabled, targeting Vulkan 1.1 / SPIR-V 1.3, and return the disassembly.
gtests/SpvDebugInfoTest.cpp:49
Method
computeBufferReferenceTypeSize
glslang/MachineIndependent/linkValidate.cpp:2766
Method
computeBuiltinPrecisions
"The operation of a built-in function can have a different precision qualification than the precision qualification of the resulting value. These two
glslang/MachineIndependent/ParseHelper.cpp:2321
Method
computeSamplerTypeIndex
used to flatten the sampler type space into a single dimension correlates with the declaration of defaultSamplerPrecision[]
glslang/MachineIndependent/ParseHelper.cpp:5417
Method
computeSamplerTypeIndex
used to flatten the sampler type space into a single dimension correlates with the declaration of defaultSamplerPrecision[]
glslang/HLSL/hlslParseHelper.cpp:6842
Method
computeTypeLocationSize
Recursively figure out how many locations are used up by an input or output type. Return the size of type, as measured by "locations".
glslang/MachineIndependent/linkValidate.cpp:2202
Method
computeTypeUniformLocationSize
Same as computeTypeLocationSize but for uniforms
glslang/MachineIndependent/linkValidate.cpp:2260
Method
constantIndexExpressionCheck
External function to call for loop check.
glslang/MachineIndependent/limits.cpp:188
Method
constantValueCheck
Both test, and if necessary spit out an error, to see if the node is really a constant.
glslang/HLSL/hlslParseHelper.cpp:6530
Method
construct
glslang/Include/PoolAlloc.h:311
Method
constructAggregate
This function tests for the type of the parameters to the structure or array constructor. Raises an error message if the expected type does not match
glslang/MachineIndependent/ParseHelper.cpp:10363
Method
constructAggregate
This function tests for the type of the parameters to the structure or array constructor. Raises an error message if the expected type does not match
glslang/HLSL/hlslParseHelper.cpp:8786
Method
constructBuiltIn
Function for constructor implementation. Calls addUnaryMath with appropriate EOp value for the parameter to the constructor (passed to this function).
glslang/MachineIndependent/ParseHelper.cpp:9949
Method
constructBuiltIn
Function for constructor implementation. Calls addUnaryMath with appropriate EOp value for the parameter to the constructor (passed to this function).
glslang/HLSL/hlslParseHelper.cpp:8567
Method
constructorError
Make sure there is enough data and not too many arguments provided to the constructor to build something of the type of the constructor. Also returns
glslang/MachineIndependent/ParseHelper.cpp:4404
Method
constructorError
Make sure there is enough data and not too many arguments provided to the constructor to build something of the type of the constructor. Also returns
glslang/HLSL/hlslParseHelper.cpp:6570
Method
constructorTextureSamplerError
Verify all the correct semantics for constructing a combined texture/sampler. Return true if the semantics are incorrect.
glslang/MachineIndependent/ParseHelper.cpp:4769
Method
consumeComment
return true if a comment was actually consumed
glslang/MachineIndependent/Scan.cpp:78
Method
consumeWhiteSpace
read past any white space
glslang/MachineIndependent/Scan.cpp:66
Method
consumeWhitespaceComment
skip whitespace, then skip a comment, rinse, repeat
glslang/MachineIndependent/Scan.cpp:145
Method
containsFieldWithBasicType
glslang/MachineIndependent/ParseHelper.cpp:5478
Method
containsLongVector
glslang/Include/Types.h:2172
Method
containsPattern
Helper function to check if the given SPIR-V string contains a specific pattern.
gtests/SpvPatternTest.cpp:73
Method
containsPhysicalStorageBufferOrArray
return true if the type is a pointer to PhysicalStorageBufferEXT or an contains such a pointer. These require restrict/aliased decorations.
SPIRV/SpvBuilder.cpp:1792
Method
containsUConvert
Helper function to check if the given SPIR-V string contains a UConvert instruction.
gtests/SpvPatternTest.cpp:79
Method
convertArray
Convert the array in node to the requested type, which is also an array. Returns nullptr on failure, otherwise returns aggregate holding the list of e
glslang/HLSL/hlslParseHelper.cpp:8713
Method
convertGlslangLinkageToSpv
SPIRV/GlslangToSpv.cpp:5499
Method
convertGlslangStructToSpvType
Do full recursive conversion of a glslang structure (or block) type to a SPIR-V Id. explicitLayout can be kept the same throughout the hierarchical re
SPIRV/GlslangToSpv.cpp:6084
Method
convertGlslangToSpvType
Convert from a glslang type to an SPV type, by calling into a recursive version of this function. This establishes the inherited layout state rooted f
SPIRV/GlslangToSpv.cpp:5494
Method
convertInitializerList
Reprocess any initializer-list (the "{ ... }" syntax) parts of the initializer. Need to hierarchically assign correct types and implicit conversions
glslang/MachineIndependent/ParseHelper.cpp:9731
Method
convertInitializerList
Reprocess any initializer-list { ... } parts of the initializer. Need to hierarchically assign correct types and implicit conversions. Will do this mi
glslang/HLSL/hlslParseHelper.cpp:8269
Method
convertLoadedBoolInUniformToUint
SPIRV/GlslangToSpv.cpp:2653
Method
convertSwizzle
Convert a glslang AST swizzle node to a swizzle vector for building SPIR-V.
SPIRV/GlslangToSpv.cpp:5484
Method
coopmatConverisonCheckQCOM
glslang/MachineIndependent/Versions.cpp:1510
Method
correctInput
Make the IO decorations etc. be appropriate only for an input interface.
glslang/HLSL/hlslParseHelper.cpp:9649
Method
correctOutput
Make the IO decorations etc. be appropriate only for an output interface.
glslang/HLSL/hlslParseHelper.cpp:9669
Method
correctUniform
Make the IO decorations etc. be appropriate only for uniform type interfaces.
glslang/HLSL/hlslParseHelper.cpp:9709
Method
countAggregateMembers
count the total number of leaf members from iterating out of a block type
glslang/MachineIndependent/reflection.cpp:213
Method
counterBufferType
glslang/HLSL/hlslParseHelper.cpp:3412
Method
createAbortEXT
SPIRV/GlslangToSpv.cpp:3171
Method
createAccessChain
Comments in header
SPIRV/SpvBuilder.cpp:3298
Method
createAndSetNoPredecessorBlock
Utility method for creating a new block and setting the insert point to be in it. This is useful for flow-control operations that need a "dummy" block
SPIRV/SpvBuilder.cpp:5046
Method
createAtomicOperation
For glslang ops that map to SPV atomic opCodes
SPIRV/GlslangToSpv.cpp:9219
Method
createBinaryMatrixOperation
Translate AST matrix operation to SPV operation, already having SPV-based operands/types. These can be any of: matrix * scalar scalar * matrix matrix
SPIRV/GlslangToSpv.cpp:8241
Method
createBinaryOperation
Translate AST operation to SPV operation, already having SPV-based operands/types.
SPIRV/GlslangToSpv.cpp:7962
Method
createCompositeConstruct
OpCompositeConstruct
SPIRV/SpvBuilder.cpp:4126
Method
createConversion
SPIRV/GlslangToSpv.cpp:9061
Method
createDebugLocalVariable
SPIRV/SpvBuilder.cpp:1476
Method
createDescHeapAccessChain
Comments in header
SPIRV/SpvBuilder.cpp:3220
Method
createDescHeapLoadStoreBaseRemap
SPIRV/SpvBuilder.cpp:3131
Method
createImageTextureFunctionCall
SPIRV/GlslangToSpv.cpp:7256
Method
createIntWidthConversion
For converting integers where both the bitwidth and the signedness could change, but only do the width change here. The caller is still responsible fo
SPIRV/GlslangToSpv.cpp:9030
Method
createInvertedSwizzle
When inverting a swizzle with a parent op, this function will apply the swizzle operation to a completed parent operation.
SPIRV/GlslangToSpv.cpp:5475
Method
createInvocationsOperation
Create group invocation operations.
SPIRV/GlslangToSpv.cpp:9452
Method
createLvalueSwizzle
Comments in header
SPIRV/SpvBuilder.cpp:3655
Method
createMatTimesMat
Handle creation of mat*mat specially, since it doesn't fall conveniently out of the generic prototype creation code below.
glslang/HLSL/hlslParseables.cpp:397
← previous
next →
2,101–2,200 of 3,297, ranked by callers