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
createMiscOperation
SPIRV/GlslangToSpv.cpp:10080
Method
createNoArgOperation
Intrinsics with no arguments (or no return value, and no precision).
SPIRV/GlslangToSpv.cpp:11029
Method
createShortCircuit
Emit short-circuiting code, where 'right' is never evaluated unless the left side is true (for &&) or false (for ||).
SPIRV/GlslangToSpv.cpp:11874
Method
createSpvConstant
Make a full tree of instructions to build a SPIR-V specialization constant, or regular constant if possible. TBD: this is not yet done, nor verified
SPIRV/GlslangToSpv.cpp:11550
Method
createSpvConstantFromConstUnionArray
Use 'consts' as the flattened glslang source of scalar constants to recursively build the aggregate SPIR-V constant. If there are not enough elements
SPIRV/GlslangToSpv.cpp:11626
Method
createSpvVariable
SPIRV/GlslangToSpv.cpp:5320
Method
createSubgroupOperation
Create subgroup invocation operations.
SPIRV/GlslangToSpv.cpp:9721
Method
createUnaryMatrixOperation
Create a unary operation on a matrix
SPIRV/GlslangToSpv.cpp:8991
Method
createUnaryOperation
SPIRV/GlslangToSpv.cpp:8340
Method
createUndefined
Comments in header
SPIRV/SpvBuilder.cpp:3045
Method
createVectorExtractDynamic
SPIRV/SpvBuilder.cpp:3420
Method
createVectorInsertDynamic
SPIRV/SpvBuilder.cpp:3431
Method
crossStageCheck
Check that there are no errors in linker objects accross stages Return true if no errors.
glslang/MachineIndependent/ShaderLang.cpp:2064
Method
currentLevel
glslang/MachineIndependent/SymbolTable.h:986
Method
dMat
glslang/MachineIndependent/Scan.cpp:2116
Method
data
glslang/Include/PoolAlloc.h:116
Method
dealloc
glslang/Include/arrays.h:216
Method
deallocate
glslang/Include/PoolAlloc.h:305
Method
declareArray
Do all the semantic checking for declaring or redeclaring an array, with and without a size, and make the right changes to the symbol table.
glslang/MachineIndependent/ParseHelper.cpp:5715
Method
declareArray
Do all the semantic checking for declaring or redeclaring an array, with and without a size, and make the right changes to the symbol table.
glslang/HLSL/hlslParseHelper.cpp:6911
Method
declareNonArray
Declare a non-array variable, the main point being there is no redeclaration for resizing allowed. Return the successfully declared variable.
glslang/MachineIndependent/ParseHelper.cpp:9533
Method
declareNonArray
Declare a non-array variable, the main point being there is no redeclaration for resizing allowed. Return the successfully declared variable.
glslang/HLSL/hlslParseHelper.cpp:8124
Method
declareUseOfStructMember
SPIRV/GlslangToSpv.cpp:6859
Method
decodeString
decode string from words at current position (non-consuming)
SPIRV/disassemble.cpp:304
Method
decomposeGeometryMethods
Decompose geometry shader methods
glslang/HLSL/hlslParseHelper.cpp:4773
Method
decomposeIntrinsic
Optionally decompose intrinsics to AST opcodes.
glslang/HLSL/hlslParseHelper.cpp:4835
Method
decomposeSampleMethods
Decompose DX9 and DX10 sample intrinsics & object methods into AST
glslang/HLSL/hlslParseHelper.cpp:3893
Method
decomposeStructBufferMethods
Decompose structure buffer methods into AST
glslang/HLSL/hlslParseHelper.cpp:3474
Method
decorateDescHeapType
Return not aligned size of current type.
SPIRV/GlslangToSpv.cpp:6236
Method
decorateStructType
SPIRV/GlslangToSpv.cpp:6355
Method
descHeapBuiltinRemap
glslang/MachineIndependent/ParseHelper.cpp:10418
Method
destroy
glslang/Include/PoolAlloc.h:312
Method
disassembleIds
SPIRV/disassemble.cpp:294
Method
disassembleImmediates
SPIRV/disassemble.cpp:285
Method
disassembleInstruction
SPIRV/disassemble.cpp:355
Method
disassembleString
return the number of operands consumed by the string
SPIRV/disassemble.cpp:329
Method
doAutoBindingMapping
glslang/MachineIndependent/iomapper.cpp:887
Method
doAutoLocationMapping
glslang/MachineIndependent/iomapper.cpp:889
Method
doMap
glslang/Public/ShaderLang.h:870
Method
dst
(self, dt)
build_info.py:65
Method
dump
Write out the binary form.
SPIRV/spvIR.h:241
Method
dump
SPIRV/spvIR.h:515
Method
dump
SPIRV/spvIR.h:589
Method
dump
glslang/MachineIndependent/SymbolTable.cpp:227
Method
dumpExtensions
glslang/MachineIndependent/SymbolTable.cpp:214
Method
dumpInstructions
SPIRV/SpvBuilder.cpp:5171
Method
dumpModuleProcesses
SPIRV/SpvBuilder.cpp:5178
Method
dumpSourceInstructions
OpSource [OpSourceContinued] ...
SPIRV/SpvBuilder.cpp:5121
Method
empty
glslang/Include/ConstantUnion.h:940
Method
endCollect
glslang/MachineIndependent/iomapper.h:69
Method
endOfReplacementList
true when non-spaced tokens can paste
glslang/MachineIndependent/preprocessor/PpContext.h:216
Method
endOfReplacementList
glslang/MachineIndependent/preprocessor/PpContext.h:391
Method
endOfReplacementList
glslang/MachineIndependent/preprocessor/PpContext.h:416
Method
endResolve
glslang/MachineIndependent/iomapper.h:67
Method
error
glslang/MachineIndependent/ParseContextBase.cpp:70
Method
error
glslang/MachineIndependent/localintermediate.h:1189
Method
es30ReservedFromGLSL
For keywords that suddenly showed up on non-ES (not previously reserved) but then got reserved by ES 3.0.
glslang/MachineIndependent/Scan.cpp:2060
Method
eval
glslang/MachineIndependent/preprocessor/Pp.cpp:463
Method
evalToToken
Expand macros, skipping empty expansions, to get to the first real token in those expansions.
glslang/MachineIndependent/preprocessor/Pp.cpp:582
Method
executeDeclaration
glslang/HLSL/hlslParseHelper.cpp:8146
Method
executeInitializer
Handle all types of initializers from the grammar. Returning nullptr just means there is no code to execute to handle the initializer, which will, fo
glslang/MachineIndependent/ParseHelper.cpp:9557
Method
executeInitializer
Handle all types of initializers from the grammar. Returning nullptr just means there is no code to execute to handle the initializer, which will, fo
glslang/HLSL/hlslParseHelper.cpp:8167
Method
expandArguments
Add any needed implicit expansion of calling arguments from what the shader listed to what's internally needed for the AST (given the constraints down
glslang/HLSL/hlslParseHelper.cpp:5855
Method
expected
glslang/HLSL/hlslGrammar.cpp:70
Method
explicitInt8Check
Call for any operation needing GLSL explicit int8 data-type support.
glslang/MachineIndependent/Versions.cpp:1402
Method
extensionRequires
Check if extension has additional requirements
glslang/MachineIndependent/Versions.cpp:1203
Method
extraTokenCheck
Call when there should be no more tokens left on a line.
glslang/MachineIndependent/preprocessor/Pp.cpp:365
Method
filterMember
TODO: this functionality should exist at a higher level, in creating the AST Identify interface members that don't have their required extension turn
SPIRV/GlslangToSpv.cpp:6049
Method
finalizeAppendMethods
Finalization step: patch append methods to use proper stream output, which isn't known until main is parsed, which could happen after the append metho
glslang/HLSL/hlslParseHelper.cpp:10266
Method
finalizeAtomicCounterBlockLayout
glslang/MachineIndependent/ParseHelper.cpp:311
Method
finalizeAtomicCounterBlockLayout
glslang/MachineIndependent/ParseHelper.h:249
Method
finalizeGlobalUniformBlockLayout
glslang/MachineIndependent/ParseHelper.cpp:293
Method
finalizeGlobalUniformBlockLayout
glslang/MachineIndependent/ParseHelper.h:239
Method
find
glslang/MachineIndependent/SymbolTable.h:514
Method
findBase
For a binary operation indexing into an aggregate, chase down the base of the aggregate. Return nullptr if the topology does not fit this situation.
glslang/MachineIndependent/reflection.cpp:684
Method
findCompositeConstant
SPIRV/SpvBuilder.cpp:2232
Method
findFunction
Look up a function name in the symbol table, and make sure it is a function. Return the function symbol if found, otherwise nullptr.
glslang/MachineIndependent/ParseHelper.cpp:8284
Method
findFunction
Look up a function name in the symbol table, and make sure it is a function. First, look for an exact match. If there is none, use the generic selec
glslang/HLSL/hlslParseHelper.cpp:7565
Method
findFunction120
Function finding algorithm for desktop versions 120 through 330.
glslang/MachineIndependent/ParseHelper.cpp:8366
Method
findFunction400
Function finding algorithm for desktop version 400 and above. "When function calls are resolved, an exact type match for all the arguments is sought.
glslang/MachineIndependent/ParseHelper.cpp:8474
Method
findFunctionExact
Function finding algorithm for ES and desktop 110.
glslang/MachineIndependent/ParseHelper.cpp:8353
Method
findFunctionExplicitTypes
"To determine whether the conversion for a single argument in one match is better than that for another match, the conversion is assigned of the three
glslang/MachineIndependent/ParseHelper.cpp:8594
Method
findFunctionNameList
glslang/MachineIndependent/SymbolTable.h:523
Method
findPatchConstantFunction
Find the patch constant function (issues error, returns nullptr if not found)
glslang/HLSL/hlslParseHelper.cpp:9844
Method
findScalarConstant
See if a scalar constant of this type has already been created, so it can be reused rather than duplicated. (Required by the specification).
SPIRV/SpvBuilder.cpp:1816
Method
findSlot
glslang/MachineIndependent/iomapper.cpp:891
Method
findStructConstant
SPIRV/SpvBuilder.cpp:2266
Method
findSubtreeOffset
For finding where the first leaf is in a subtree of a multi-level aggregate that is just getting a subset assigned. Follows the same logic as flattenA
glslang/HLSL/hlslParseHelper.cpp:1418
Method
findTessLinkageSymbol
Return a symbol for the tessellation linkage variable of the given TBuiltInVariable type
glslang/HLSL/hlslParseHelper.cpp:9834
Method
finish
Do any additional error checking, etc., once we know the parsing is done.
glslang/MachineIndependent/ParseHelper.cpp:6640
Method
finish
glslang/MachineIndependent/ParseContextBase.cpp:741
Method
finish
post-processing
glslang/HLSL/hlslParseHelper.cpp:10290
Method
firstGenerationImage
glslang/MachineIndependent/Scan.cpp:2139
Method
fixBlockLocations
"For a block, this process applies to the entire block, or until the first member is reached that has a location layout qualifier. When a block member
glslang/MachineIndependent/ParseHelper.cpp:10931
Method
fixBlockLocations
"For a block, this process applies to the entire block, or until the first member is reached that has a location layout qualifier. When a block member
glslang/HLSL/hlslParseHelper.cpp:8963
Method
fixBlockUniformLayoutMatrix
Spread LayoutMatrix to uniform block member, if a uniform block member is a struct, we need spread LayoutMatrix to this struct member too. and keep th
glslang/MachineIndependent/ParseHelper.cpp:11075
Method
fixBlockUniformLayoutPacking
Spread LayoutPacking to matrix or aggregate block members. If a block member is a struct or array of struct, spread LayoutPacking recursively to its m
glslang/MachineIndependent/ParseHelper.cpp:11127
Method
fixBlockUniformOffsets
Calculate and save the offset of each block member, using the recursively defined block offset rules and the user-provided offset and align. Also, co
glslang/MachineIndependent/ParseHelper.cpp:11011
Method
fixBlockUniformOffsets
Calculate and save the offset of each block member, using the recursively defined block offset rules and the user-provided offset and align. Also, co
glslang/HLSL/hlslParseHelper.cpp:9044
Method
fixBuiltInIoType
Some types require fixed array sizes in SPIR-V, but can be scalars or arrays of sizes SPIR-V doesn't allow. For example, tessellation factors. This c
glslang/HLSL/hlslParseHelper.cpp:1484
← previous
next →
2,201–2,300 of 3,297, ranked by callers