MCPcopy Create free account

hub / github.com/KhronosGroup/glslang / functions

Functions3,297 in github.com/KhronosGroup/glslang

MethodblockStorageRemap
allow storage type of block to be remapped at compile time
glslang/MachineIndependent/ParseHelper.cpp:10787
MethodblowUpActiveAggregate
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
MethodblowUpIOAggregate
similar to blowUpActiveAggregate, but with simpler rules and no dereferences to follow.
glslang/MachineIndependent/reflection.cpp:482
MethodbuildAttributeReflection
Track any required attribute reflection, such as compute shader numthreads.
glslang/MachineIndependent/reflection.cpp:1137
MethodbuildCounterIndices
build counter block index associations for buffers
glslang/MachineIndependent/reflection.cpp:1149
MethodbuildMangledName
Recursively generate mangled names.
glslang/MachineIndependent/SymbolTable.cpp:56
MethodbuildStorageKey
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
MethodbuildUniformStageMask
build Shader Stages mask for all uniforms
glslang/MachineIndependent/reflection.cpp:1166
MethodbuiltInName
glslang/MachineIndependent/ParseHelper.cpp:4380
MethodbuiltInName
glslang/HLSL/hlslParseHelper.cpp:6558
MethodbuiltInOpCheck
glslang/MachineIndependent/ParseHelper.cpp:2898
MethodbuiltInOpCheck
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
MethodcaptureBlockTokens
Get the stream of tokens from the scanner, but skip all syntactic/semantic processing.
glslang/HLSL/hlslGrammar.cpp:4431
MethodcheckAndResizeMeshViewDim
Check if mesh perviewNV attributes have a view dimension and resize it to gl_MaxMeshViewCountNV when implicitly sized.
glslang/MachineIndependent/ParseHelper.cpp:5866
MethodcheckCallGraphBodies
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
MethodcheckCallGraphCycles
See if the call graph contains any static recursion, which is disallowed by the specification.
glslang/MachineIndependent/linkValidate.cpp:1741
MethodcheckEmpty
glslang/MachineIndependent/iomapper.cpp:895
MethodcheckEqAndUpdateIfRequested
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
MethodcheckExtensionStage
Check if extension is used with correct shader stage.
glslang/MachineIndependent/Versions.cpp:1179
MethodcheckExtensionsRequested
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
MethodcheckGuardBlock
glslang/MachineIndependent/PoolAlloc.cpp:147
MethodcheckIndex
Ensure index is in bounds, correct if necessary. Give an error if not.
glslang/MachineIndependent/ParseContextBase.cpp:285
MethodcheckIoArrayConsistency
glslang/MachineIndependent/ParseHelper.cpp:887
MethodcheckIoArraysConsistency
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
MethodcheckLocation
See if the operation is being done in an illegal location.
glslang/MachineIndependent/ParseHelper.cpp:2427
MethodcheckLocationOverlap
In case we need to new an intermediate, which costs too much
glslang/MachineIndependent/iomapper.cpp:514
MethodcheckLocationRange
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
MethodcheckMem
glslang/Include/InfoSink.h:152
MethodcheckRuntimeSizable
Policy and error check for needing a runtime sized array.
glslang/MachineIndependent/ParseHelper.cpp:5796
Methodclear
glslang/Include/Types.h:510
MethodclearMemory
glslang/Include/Types.h:565
MethodclearReturnStruct
glslang/Include/Types.h:105
MethodclearUniform
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
MethodclearUniformInputOutput
Clear out all IO/Uniform stuff, so this has nothing to do with being an IO interface.
glslang/HLSL/hlslParseHelper.cpp:9720
Methodclone
glslang/Include/ConstantUnion.h:902
MethodcollapseAccessChain
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
MethodcollectRayTracingLinkerObjects
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
Functioncommand_retval
Runs a command in a directory and returns its return value. Captures the standard error stream.
update_glslang_sources.py:58
Methodcompile
Generate code from the given parse tree
glslang/GenericCodeGen/CodeGen.cpp:67
MethodcompileAndLink
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
MethodcompileLinkIoMap
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
FunctioncompileShaderToSPIRV_Vulkan
Test/find_package/example.c:48
MethodcompileShaderToSpirv
Helper function to compile shader and get SPIR-V disassembly.
gtests/SpvPatternTest.cpp:43
MethodcompileShouldFailWith
Helper function to compile shader and check for specific error message.
gtests/UboUnsizedArray.cpp:31
MethodcompileWithDebugInfo
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
MethodcomputeBufferReferenceTypeSize
glslang/MachineIndependent/linkValidate.cpp:2766
MethodcomputeBuiltinPrecisions
"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
MethodcomputeSamplerTypeIndex
used to flatten the sampler type space into a single dimension correlates with the declaration of defaultSamplerPrecision[]
glslang/MachineIndependent/ParseHelper.cpp:5417
MethodcomputeSamplerTypeIndex
used to flatten the sampler type space into a single dimension correlates with the declaration of defaultSamplerPrecision[]
glslang/HLSL/hlslParseHelper.cpp:6842
MethodcomputeTypeLocationSize
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
MethodcomputeTypeUniformLocationSize
Same as computeTypeLocationSize but for uniforms
glslang/MachineIndependent/linkValidate.cpp:2260
MethodconstantIndexExpressionCheck
External function to call for loop check.
glslang/MachineIndependent/limits.cpp:188
MethodconstantValueCheck
Both test, and if necessary spit out an error, to see if the node is really a constant.
glslang/HLSL/hlslParseHelper.cpp:6530
Methodconstruct
glslang/Include/PoolAlloc.h:311
MethodconstructAggregate
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
MethodconstructAggregate
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
MethodconstructBuiltIn
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
MethodconstructBuiltIn
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
MethodconstructorError
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
MethodconstructorError
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
MethodconstructorTextureSamplerError
Verify all the correct semantics for constructing a combined texture/sampler. Return true if the semantics are incorrect.
glslang/MachineIndependent/ParseHelper.cpp:4769
MethodconsumeComment
return true if a comment was actually consumed
glslang/MachineIndependent/Scan.cpp:78
MethodconsumeWhiteSpace
read past any white space
glslang/MachineIndependent/Scan.cpp:66
MethodconsumeWhitespaceComment
skip whitespace, then skip a comment, rinse, repeat
glslang/MachineIndependent/Scan.cpp:145
MethodcontainsFieldWithBasicType
glslang/MachineIndependent/ParseHelper.cpp:5478
MethodcontainsLongVector
glslang/Include/Types.h:2172
MethodcontainsPattern
Helper function to check if the given SPIR-V string contains a specific pattern.
gtests/SpvPatternTest.cpp:73
MethodcontainsPhysicalStorageBufferOrArray
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
MethodcontainsUConvert
Helper function to check if the given SPIR-V string contains a UConvert instruction.
gtests/SpvPatternTest.cpp:79
MethodconvertArray
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
MethodconvertGlslangLinkageToSpv
SPIRV/GlslangToSpv.cpp:5499
MethodconvertGlslangStructToSpvType
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
MethodconvertGlslangToSpvType
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
MethodconvertInitializerList
Reprocess any initializer-list (the "{ ... }" syntax) parts of the initializer. Need to hierarchically assign correct types and implicit conversions
glslang/MachineIndependent/ParseHelper.cpp:9731
MethodconvertInitializerList
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
MethodconvertLoadedBoolInUniformToUint
SPIRV/GlslangToSpv.cpp:2653
MethodconvertSwizzle
Convert a glslang AST swizzle node to a swizzle vector for building SPIR-V.
SPIRV/GlslangToSpv.cpp:5484
MethodcoopmatConverisonCheckQCOM
glslang/MachineIndependent/Versions.cpp:1510
MethodcorrectInput
Make the IO decorations etc. be appropriate only for an input interface.
glslang/HLSL/hlslParseHelper.cpp:9649
MethodcorrectOutput
Make the IO decorations etc. be appropriate only for an output interface.
glslang/HLSL/hlslParseHelper.cpp:9669
MethodcorrectUniform
Make the IO decorations etc. be appropriate only for uniform type interfaces.
glslang/HLSL/hlslParseHelper.cpp:9709
MethodcountAggregateMembers
count the total number of leaf members from iterating out of a block type
glslang/MachineIndependent/reflection.cpp:213
MethodcounterBufferType
glslang/HLSL/hlslParseHelper.cpp:3412
MethodcreateAbortEXT
SPIRV/GlslangToSpv.cpp:3171
MethodcreateAccessChain
Comments in header
SPIRV/SpvBuilder.cpp:3298
MethodcreateAndSetNoPredecessorBlock
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
MethodcreateAtomicOperation
For glslang ops that map to SPV atomic opCodes
SPIRV/GlslangToSpv.cpp:9219
MethodcreateBinaryMatrixOperation
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
MethodcreateBinaryOperation
Translate AST operation to SPV operation, already having SPV-based operands/types.
SPIRV/GlslangToSpv.cpp:7962
MethodcreateCompositeConstruct
OpCompositeConstruct
SPIRV/SpvBuilder.cpp:4126
MethodcreateConversion
SPIRV/GlslangToSpv.cpp:9061
MethodcreateDebugLocalVariable
SPIRV/SpvBuilder.cpp:1476
MethodcreateDescHeapAccessChain
Comments in header
SPIRV/SpvBuilder.cpp:3220
MethodcreateDescHeapLoadStoreBaseRemap
SPIRV/SpvBuilder.cpp:3131
MethodcreateImageTextureFunctionCall
SPIRV/GlslangToSpv.cpp:7256
MethodcreateIntWidthConversion
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
MethodcreateInvertedSwizzle
When inverting a swizzle with a parent op, this function will apply the swizzle operation to a completed parent operation.
SPIRV/GlslangToSpv.cpp:5475
MethodcreateInvocationsOperation
Create group invocation operations.
SPIRV/GlslangToSpv.cpp:9452
MethodcreateLvalueSwizzle
Comments in header
SPIRV/SpvBuilder.cpp:3655
MethodcreateMatTimesMat
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
← previousnext →2,101–2,200 of 3,297, ranked by callers