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
↓ 7 callers
Method
clone
glslang/Include/Types.h:1894
↓ 7 callers
Method
contains64BitInt
glslang/Include/Types.h:2152
↓ 7 callers
Method
createVariable
Comments in header
SPIRV/SpvBuilder.cpp:3005
↓ 7 callers
Method
dump
SPIRV/spvIR.h:396
↓ 7 callers
Method
foldDereference
Constant folding of a bracket (array-style) dereference or struct-like dot dereference. Can handle anything except a multi-character swizzle, though
glslang/MachineIndependent/Constant.cpp:1253
↓ 7 callers
Method
getStorageQualifierString
glslang/Include/Types.h:2713
↓ 7 callers
Method
getTileShadingRateQCOM
glslang/MachineIndependent/ShaderLang.cpp:2204
↓ 7 callers
Method
getVersion
glslang/MachineIndependent/localintermediate.h:396
↓ 7 callers
Method
get_value
SPIRV/hex_float.h:42
↓ 7 callers
Method
isCooperativeVector
SPIRV/SpvBuilder.h:335
↓ 7 callers
Method
isPatch
glslang/Include/Types.h:656
↓ 7 callers
Method
isWriteOnly
EXT_descriptor_heap
glslang/Include/Types.h:624
↓ 7 callers
Method
makeStructResultType
Make a struct for the simple results of several instructions, checking for duplication.
SPIRV/SpvBuilder.cpp:459
↓ 7 callers
Method
mapTypeToConstructorOp
Given a type, find what operation would fully construct it.
glslang/MachineIndependent/Intermediate.cpp:1859
↓ 7 callers
Method
setAutoMapLocations
Fragile: currently within one stage: simple auto-assignment of location
glslang/MachineIndependent/ShaderLang.cpp:1849
↓ 7 callers
Method
setBasicType
This should only be used when known to not be sharing with other threads
glslang/Include/Types.h:2720
↓ 7 callers
Method
setBlockStorage
glslang/Include/Types.h:798
↓ 7 callers
Method
setOperand
glslang/Include/intermediate.h:1670
↓ 7 callers
Method
setOutputPrimitive
glslang/MachineIndependent/localintermediate.h:927
↓ 7 callers
Method
size
glslang/MachineIndependent/localintermediate.h:82
↓ 7 callers
Method
turnOnSpecConstantOpMode
SPIRV/GlslangToSpv.cpp:90
↓ 7 callers
Function
unbiased_half_exponent
gtests/HexFloat.cpp:544
↓ 6 callers
Function
FindLanguage
Deduce the language from the filename. Files must end in one of the following extensions: .vert = vertex .tesc = tessellation control .tese = tessel
StandAlone/StandAlone.cpp:1854
↓ 6 callers
Function
GetResources
glslang/ResourceLimits/ResourceLimits.cpp:534
↓ 6 callers
Function
InitializeProcess
glslang/MachineIndependent/ShaderLang.cpp:1719
↓ 6 callers
Function
IsOpNumericConv
glslang/Include/intermediate.h:1055
↓ 6 callers
Method
IsRequestedExtension
glslang/MachineIndependent/localintermediate.h:1095
↓ 6 callers
Function
ModifyFlatDecoration
Modify the symbol's flat decoration. Safe to call even if name is not present. Originally written to transform gl_SubGroupSizeARB from uniform to fr
glslang/MachineIndependent/Initialize.cpp:8913
↓ 6 callers
Function
TranslateNoContractionDecoration
If glslang type is noContraction, return SPIR-V NoContraction decoration.
SPIRV/GlslangToSpv.cpp:569
↓ 6 callers
Method
accessChainGetLValue
SPIRV/SpvBuilder.cpp:4812
↓ 6 callers
Method
addBinaryMath
Connect two nodes with a new parent that does a binary operation on the nodes. Returns the added node. Returns nullptr if the working conversions an
glslang/MachineIndependent/Intermediate.cpp:118
↓ 6 callers
Method
addCounterBufferName
glslang/MachineIndependent/localintermediate.h:853
↓ 6 callers
Method
addNoContraction
SPIRV/GlslangToSpv.cpp:110
↓ 6 callers
Method
arrayOfArrayVersionCheck
glslang/MachineIndependent/ParseHelper.cpp:5699
↓ 6 callers
Method
checkNoShaderLayouts
For places that can't have shader-level layout qualifiers
glslang/MachineIndependent/ParseHelper.cpp:8177
↓ 6 callers
Method
containsUnsizedArray
Recursively check the structure for any unsized arrays, needed for triggering a copyUp().
glslang/Include/Types.h:2075
↓ 6 callers
Method
copyArrayInnerSizes
Add inner array sizes, to any existing sizes, via copy; the sizes passed in can still be reused for other purposes.
glslang/Include/Types.h:2219
↓ 6 callers
Method
createBuiltinCall
Comments in header
SPIRV/SpvBuilder.cpp:3756
↓ 6 callers
Method
dump
SPIRV/SpvBuilder.cpp:4864
↓ 6 callers
Method
findFunctionNameList
glslang/MachineIndependent/SymbolTable.h:885
↓ 6 callers
Method
findLinkerObjects
glslang/MachineIndependent/linkValidate.cpp:1930
↓ 6 callers
Method
fold
Do folding between a pair of nodes. 'this' is the left-hand operand and 'rightConstantNode' is the right-hand operand. Returns a new node representin
glslang/MachineIndependent/Constant.cpp:72
↓ 6 callers
Method
getInputPrimitive
glslang/MachineIndependent/localintermediate.h:890
↓ 6 callers
Method
getProfile
glslang/MachineIndependent/localintermediate.h:397
↓ 6 callers
Method
getShaderInterface
glslang/Include/Types.h:1920
↓ 6 callers
Method
getTest
glslang/Include/intermediate.h:1233
↓ 6 callers
Function
getTypeRank
glslang/Include/BaseTypes.h:677
↓ 6 callers
Method
hasBank
glslang/Include/Types.h:1140
↓ 6 callers
Method
hasFormat
glslang/Include/Types.h:1070
↓ 6 callers
Method
hasXfbStride
glslang/Include/Types.h:1084
↓ 6 callers
Function
interfaceName
gtests/GlslMapIO.FromFile.cpp:57
↓ 6 callers
Function
interfaceName
gtests/VkRelaxed.FromFile.cpp:56
↓ 6 callers
Method
isArrayed
glslang/Include/Types.h:130
↓ 6 callers
Method
isAttachmentEXT
glslang/Include/Types.h:2000
↓ 6 callers
Method
isCooperativeMatrixType
SPIRV/SpvBuilder.h:356
↓ 6 callers
Method
isPureSampler
glslang/Include/Types.h:124
↓ 6 callers
Method
isReadOnly
glslang/MachineIndependent/SymbolTable.h:127
↓ 6 callers
Method
makeDoubleConstant
SPIRV/SpvBuilder.cpp:2011
↓ 6 callers
Method
makeFloat16Constant
SPIRV/SpvBuilder.cpp:2044
↓ 6 callers
Method
makeFloatConstant
SPIRV/SpvBuilder.cpp:1982
↓ 6 callers
Method
makeStatementTerminator
Comments in header
SPIRV/SpvBuilder.cpp:2942
↓ 6 callers
Method
peek
retrieve the next character, no advance
glslang/MachineIndependent/Scan.h:100
↓ 6 callers
Method
pushScope
glslang/HLSL/hlslParseHelper.h:173
↓ 6 callers
Method
setAutoMapBindings
Enables binding automapping using TIoMapper
glslang/MachineIndependent/ShaderLang.cpp:1845
↓ 6 callers
Method
setBindlessImageMode
Set the global flag for bindless image
glslang/MachineIndependent/localintermediate.h:798
↓ 6 callers
Method
setBindlessTextureMode
Set the global flag for bindless texture
glslang/MachineIndependent/localintermediate.h:785
↓ 6 callers
Method
setStrings
glslang/MachineIndependent/ShaderLang.cpp:1764
↓ 6 callers
Method
setVertices
glslang/MachineIndependent/localintermediate.h:875
↓ 6 callers
Method
syncToLine
Calls syncToMostRecentString() and then sets the internally tracked line number to tokenLine. If we switched to a new line, returns true and inserts n
glslang/MachineIndependent/ShaderLang.cpp:1047
↓ 6 callers
Method
updatePrecision
Propagate precision from formal function return type to actual return type, and on to its subtree.
glslang/MachineIndependent/Intermediate.cpp:2714
↓ 5 callers
Function
FinalizeProcess
glslang/MachineIndependent/ShaderLang.cpp:1724
↓ 5 callers
Function
GetSpirvGeneratorVersion
For low-order part of the generator's magic number. Bump up when there is a change in the style (e.g., if SSA form changes, or a different instruction
SPIRV/GlslangToSpv.cpp:11947
↓ 5 callers
Function
Kill
SPIRV/disassemble.cpp:72
↓ 5 callers
Function
MapToSpirvToolsEnv
Translate glslang's view of target versioning to what SPIRV-Tools uses.
SPIRV/SpvTools.cpp:52
↓ 5 callers
Function
NewPoolObject
glslang/Include/Common.h:157
↓ 5 callers
Method
addArgument
glslang/MachineIndependent/localintermediate.h:193
↓ 5 callers
Method
addLoop
Create while and do-while loop nodes.
glslang/MachineIndependent/Intermediate.cpp:2665
↓ 5 callers
Method
addPredecessor
SPIRV/spvIR.h:325
↓ 5 callers
Method
addSwizzle
glslang/MachineIndependent/Intermediate.cpp:2598
↓ 5 callers
Method
addToCallGraph
Add a caller->callee relationship to the call graph. Assumes the strings are unique per signature.
glslang/MachineIndependent/Intermediate.cpp:2821
↓ 5 callers
Method
boolCheck
Checks to see if the node (for the expression) contains a scalar boolean expression or not
glslang/MachineIndependent/ParseHelper.cpp:4863
↓ 5 callers
Function
c_shader_stage
glslang/CInterface/glslang_c_interface.cpp:159
↓ 5 callers
Method
clearInterstage
glslang/Include/Types.h:544
↓ 5 callers
Function
command_output
Runs a command in a directory and returns its standard output stream. Captures the standard error stream. Raises a RuntimeError if the comma
update_glslang_sources.py:38
↓ 5 callers
Method
computeTypeLocationSize
glslang/MachineIndependent/iomapper.cpp:1007
↓ 5 callers
Method
containsArray
Recursively check the structure for any arrays, needed for some error checks
glslang/Include/Types.h:2047
↓ 5 callers
Method
convertConditionalExpression
Convert to a scalar boolean, or if not allowed by HLSL semantics, report an error and return nullptr.
glslang/HLSL/hlslParseHelper.cpp:6459
↓ 5 callers
Method
createLoad
Comments in header
SPIRV/SpvBuilder.cpp:3102
↓ 5 callers
Method
createTextureQueryCall
Comments in header
SPIRV/SpvBuilder.cpp:3992
↓ 5 callers
Method
getAutoMapBindings
glslang/MachineIndependent/localintermediate.h:728
↓ 5 callers
Method
getAutoMapLocations
glslang/MachineIndependent/localintermediate.h:735
↓ 5 callers
Method
getBasicString
glslang/Include/Types.h:2262
↓ 5 callers
Method
getExtensions
glslang/MachineIndependent/SymbolTable.h:122
↓ 5 callers
Method
getNumEntryPoints
glslang/MachineIndependent/localintermediate.h:474
↓ 5 callers
Method
getNumMemberExtensions
glslang/MachineIndependent/SymbolTable.h:198
↓ 5 callers
Method
getOperationPrecision
glslang/Include/intermediate.h:1437
↓ 5 callers
Method
getReturnType
SPIRV/spvIR.h:481
↓ 5 callers
Method
getScalarTypeWidth
SPIRV/SpvBuilder.h:387
↓ 5 callers
Method
handleInputGeometry
Update the intermediate for the given input geometry
glslang/HLSL/hlslParseHelper.cpp:9148
↓ 5 callers
Method
handleUnaryMath
Handle seeing a unary node with a math operation.
glslang/MachineIndependent/ParseHelper.cpp:953
← previous
next →
401–500 of 3,297, ranked by callers