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
acceptSamplerState
sampler_state : LEFT_BRACE [sampler_state_assignment ... ] RIGHT_BRACE sampler_state_assignment : sampler_state_identifier EQUAL value SEMICOLON sam
glslang/HLSL/hlslGrammar.cpp:192
Method
acceptSamplerType
sampler_type : SAMPLER | SAMPLER1D | SAMPLER2D | SAMPLER3D | SAMPLERCUBE | SAMPLERSTATE | SAMPLERCOMPARISONSTATE
glslang/HLSL/hlslGrammar.cpp:1280
Method
acceptSamplerTypeDX9
sampler_type for DX9 compatibility : SAMPLER | SAMPLER1D | SAMPLER2D | SAMPLER3D | SAMPLERCUBE
glslang/HLSL/hlslGrammar.cpp:1235
Method
acceptScopedCompoundStatement
glslang/HLSL/hlslGrammar.cpp:3747
Method
acceptScopedStatement
glslang/HLSL/hlslGrammar.cpp:3738
Method
acceptSelectionStatement
selection_statement : IF LEFT_PAREN expression RIGHT_PAREN statement : IF LEFT_PAREN expression RIGHT_PAREN statement ELSE statement
glslang/HLSL/hlslGrammar.cpp:3934
Method
acceptSimpleStatement
simple_statement : SEMICOLON | declaration_statement | expression SEMICOLON
glslang/HLSL/hlslGrammar.cpp:3678
Method
acceptStatement
statement : attributes attributed_statement attributed_statement : compound_statement | simple_statement | selection_statement | switch_statement | c
glslang/HLSL/hlslGrammar.cpp:3769
Method
acceptStreamOutTemplateType
stream_out_template_type : output_primitive_geometry_type LEFT_ANGLE type RIGHT_ANGLE
glslang/HLSL/hlslGrammar.cpp:1108
Method
acceptStruct
struct : struct_type IDENTIFIER post_decls LEFT_BRACE struct_declaration_list RIGHT_BRACE | struct_type post_decls LEFT_BRACE struct_declar
glslang/HLSL/hlslGrammar.cpp:2385
Method
acceptStructBufferType
struct_buffer : APPENDSTRUCTUREDBUFFER | BYTEADDRESSBUFFER | CONSUMESTRUCTUREDBUFFER | RWBYTEADDRESSBUFFER | RWSTRUCTUREDBUFFER | STRUCTUREDBUFFER
glslang/HLSL/hlslGrammar.cpp:2582
Method
acceptStructDeclarationList
struct_declaration_list : struct_declaration SEMI_COLON struct_declaration SEMI_COLON ... struct_declaration : attributes fully_specified_type struct
glslang/HLSL/hlslGrammar.cpp:2687
Method
acceptSubpassInputType
subpass input type : SUBPASSINPUT | SUBPASSINPUT VECTOR LEFT_ANGLE template_type RIGHT_ANGLE | SUBPASSINPUTMS | SUBPASSINPUTMS VECTOR LEFT_ANGLE templ
glslang/HLSL/hlslGrammar.cpp:1171
Method
acceptSwitchStatement
switch_statement : SWITCH LEFT_PAREN expression RIGHT_PAREN compound_statement
glslang/HLSL/hlslGrammar.cpp:3987
Method
acceptTemplateVecMatBasicType
template_type : FLOAT | DOUBLE | INT | DWORD | UINT | BOOL
glslang/HLSL/hlslGrammar.cpp:853
Method
acceptTessellationDeclType
tessellation_decl_type : INPUTPATCH | OUTPUTPATCH
glslang/HLSL/hlslGrammar.cpp:1045
Method
acceptTessellationPatchTemplateType
tessellation_patch_template_type : tessellation_decl_type LEFT_ANGLE type comma integer_literal RIGHT_ANGLE
glslang/HLSL/hlslGrammar.cpp:1064
Method
acceptTextureBufferType
texture_buffer : TEXTUREBUFFER LEFT_ANGLE type RIGHT_ANGLE
glslang/HLSL/hlslGrammar.cpp:2540
Method
acceptTextureType
glslang/HLSL/hlslGrammar.cpp:1332
Method
acceptTokenClass
Return true and advance to the next token if the current token is the expected (passed in) token class.
glslang/HLSL/hlslTokenStream.cpp:140
Method
acceptType
If token is for a type, update 'type' with the type information, and return true and advance. Otherwise, return false, and don't advance
glslang/HLSL/hlslGrammar.cpp:1471
Method
acceptUnaryExpression
unary_expression : (type) unary_expression | + unary_expression | - unary_expression | ! unary_expression | ~ unary_expression | ++ unary_expression |
glslang/HLSL/hlslGrammar.cpp:3302
Method
acceptVectorTemplateType
vector_template_type : VECTOR | VECTOR LEFT_ANGLE template_type COMMA integer_literal RIGHT_ANGLE
glslang/HLSL/hlslGrammar.cpp:904
Method
accessChainLoad
Comments in header
SPIRV/SpvBuilder.cpp:4716
Method
accessChainStore
Comments in header
SPIRV/SpvBuilder.cpp:4652
Method
add2ndGenerationSamplingImaging
Helper function for initialize(), to add the second set of names for texturing, when adding context-independent built-in functions.
glslang/MachineIndependent/Initialize.cpp:7352
Method
addAssign
Connect two nodes through an assignment. Returns the added node. Returns nullptr if the 'right' type could not be converted to match the 'left' type
glslang/MachineIndependent/Intermediate.cpp:287
Method
addAtomFixed
Add bi-directional mappings: - string -> atom - atom -> string
glslang/MachineIndependent/preprocessor/PpContext.h:175
Method
addBiShapeConversion
Convert the nodes' shapes to be compatible for the operation 'op'. This implements policy, it call addShapeConversion() for the mechanism. Generally
glslang/MachineIndependent/Intermediate.cpp:1088
Method
addBlockName
glslang/MachineIndependent/reflection.cpp:638
Method
addBlockStorageOverride
glslang/MachineIndependent/localintermediate.h:1050
Method
addConstructor
Test for the correctness of the parameters passed to various constructor functions and also convert them to the right data type, if allowed and requir
glslang/MachineIndependent/ParseHelper.cpp:9831
Method
addConstructor
Add a constructor, either from the grammar, or other programmatic reasons. 'node' is what to construct from. 'type' is what type to construct. Retur
glslang/HLSL/hlslParseHelper.cpp:8469
Method
addDereferencedUniform
Add a uniform dereference where blocks/struct/arrays are involved in the access. Handles the situation where the left node is at the correct or too co
glslang/MachineIndependent/reflection.cpp:557
Method
addFlattenedMember
Add a single flattened member to the flattened data being tracked for the composite Returns true for the final flattening level.
glslang/HLSL/hlslParseHelper.cpp:1246
Method
addFunctionCall
Track live functions as well as uniforms, so that we don't visit dead functions and only visit each function once.
glslang/MachineIndependent/LiveTraverser.h:178
Method
addGatherFunctions
Helper function for add2ndGenerationSamplingImaging(), when adding context-independent built-in functions. Add all the texture gather functions for t
glslang/MachineIndependent/Initialize.cpp:8128
Method
addGenMulArgumentConversion
HLSL allows mismatched dimensions on vec*mat, mat*vec, vec*vec, and mat*mat. This is a situation not well suited to resolution in intrinsic selection
glslang/HLSL/hlslParseHelper.cpp:5706
Method
addGlobalReference
glslang/MachineIndependent/LiveTraverser.h:187
Method
addImageFunctions
Helper function for add2ndGenerationSamplingImaging(), when adding context-independent built-in functions. Add all the image access functions for the
glslang/MachineIndependent/Initialize.cpp:7613
Method
addImageProcessing2QCOMDecoration
SPIRV/GlslangToSpv.cpp:11507
Method
addImageProcessingQCOMDecoration
SPIRV/GlslangToSpv.cpp:11490
Method
addIndirectionIndexCapabilities
Add capabilities pertaining to how an array is indexed.
SPIRV/GlslangToSpv.cpp:1535
Method
addInputArgumentConversions
Add any needed implicit conversions for function-call arguments to input parameters.
glslang/MachineIndependent/ParseHelper.cpp:2551
Method
addInputArgumentConversions
Add any needed implicit conversions for function-call arguments to input parameters.
glslang/HLSL/hlslParseHelper.cpp:5781
Method
addInstruction
SPIRV/spvIR.h:654
Method
addInstructionNoDebugInfo
SPIRV/SpvBuilder.cpp:2672
Method
addLinkageDecoration
SPIRV/SpvBuilder.cpp:2499
Method
addLocalVariable
SPIRV/spvIR.h:326
Method
addMacroDef
glslang/MachineIndependent/preprocessor/PpContext.h:341
Method
addMeshNVDecoration
add per-primitive, per-view. per-task decorations to a struct member (member >= 0) or an object
SPIRV/GlslangToSpv.cpp:11434
Method
addOutputArgumentConversions
Add any needed implicit output conversions for function-call arguments. This can require a new tree topology, complicated further by whether the func
glslang/MachineIndependent/ParseHelper.cpp:2592
Method
addOutputArgumentConversions
Add any needed implicit output conversions for function-call arguments. This can require a new tree topology, complicated further by whether the func
glslang/HLSL/hlslParseHelper.cpp:5928
Method
addPairConversion
For converting a pair of operands to a binary operation to compatible types with each other, relative to the operation in 'op'. This does not cover as
glslang/MachineIndependent/Intermediate.cpp:699
Method
addPatchConstantInvocation
Finalization step: Add patch constant function invocation
glslang/HLSL/hlslParseHelper.cpp:9877
Method
addPipeIOVariable
glslang/MachineIndependent/reflection.cpp:118
Method
addPrefix
glslang/MachineIndependent/SymbolTable.h:298
Method
addProcess
glslang/MachineIndependent/localintermediate.h:1151
Method
addProcesses
glslang/MachineIndependent/localintermediate.h:1146
Method
addQualifierToExisting
For an identifier that is already declared, add more qualification to it.
glslang/HLSL/hlslParseHelper.cpp:9096
Method
addQueryFunctions
Helper function for add2ndGenerationSamplingImaging(), when adding context-independent built-in functions. Add all the query functions for the given
glslang/MachineIndependent/Initialize.cpp:7487
Method
addSamplingFunctions
Helper function for add2ndGenerationSamplingImaging(), when adding context-independent built-in functions. Add all the texture lookup functions for t
glslang/MachineIndependent/Initialize.cpp:7860
Function
addShader
glslang/Public/ShaderLang.h:887
Method
addSourceText
glslang/MachineIndependent/localintermediate.h:1142
Method
addStage
Merge live symbols from 'intermediate' into the existing reflection database. Returns false if the input is too malformed to do this.
glslang/MachineIndependent/reflection.cpp:1184
Method
addStage
glslang/MachineIndependent/iomapper.h:87
Method
addStructBuffArguments
Add any needed "hidden" counter buffer arguments for function calls. Modifies the 'aggregate' argument if needed. Otherwise, is no-op.
glslang/HLSL/hlslParseHelper.cpp:6019
Method
addStructBufferHiddenCounterParam
For struct buffers with counters, we must pass the counter buffer as hidden parameter. This adds the hidden parameter to the parameter list in 'paramN
glslang/HLSL/hlslParseHelper.cpp:1627
Method
addSubpassSampling
Helper function for initialize(), when adding context-independent built-in functions. Add all the subpass access functions for the given type.
glslang/MachineIndependent/Initialize.cpp:7843
Method
addTabledBuiltins
Add declarations for all tables of built-in functions.
glslang/MachineIndependent/Initialize.cpp:508
Method
addUniform
Add a simple reference to a uniform variable to the uniform database, no dereference involved. However, no dereference doesn't mean simple... it could
glslang/MachineIndependent/reflection.cpp:88
Method
addUniformLocationOverride
glslang/MachineIndependent/localintermediate.h:1010
Method
address
glslang/Include/PoolAlloc.h:290
Method
advance
advance one character
glslang/MachineIndependent/Scan.h:229
Method
advanceToken
Load 'token' with the next token in the stream of tokens.
glslang/HLSL/hlslTokenStream.cpp:101
Method
alloc
glslang/Include/arrays.h:211
Method
allocate
glslang/MachineIndependent/PoolAlloc.cpp:224
Method
allocationSize
Return total size needed to accommodate user buffer of 'size', plus our tracking data.
glslang/Include/PoolAlloc.h:102
Method
amend
Add more members to an already inserted aggregate object
glslang/MachineIndependent/SymbolTable.h:476
Function
android_main
ndk_test/test.cpp:17
Method
applySpirvDecorate
Apply SPIR-V decorations to the SPIR-V object (provided by SPIR-V ID). If member index is provided, the decorations are applied to this member.
SPIRV/GlslangToSpv.cpp:5989
Method
areAllChildConst
glslang/MachineIndependent/Constant.cpp:1214
Method
arrayError
See if this qualifier and type combination can be an array. Assumes arrayQualifierError() was also called to catch the type-invariant tests. Returns
glslang/MachineIndependent/ParseHelper.cpp:5582
Method
arrayLimitCheck
Do limit checks for built-in arrays.
glslang/MachineIndependent/ParseHelper.cpp:6611
Method
arraySizeRequiredCheck
Require array to be completely sized
glslang/HLSL/hlslParseHelper.cpp:6891
Method
arraySizesCheck
glslang/MachineIndependent/ParseHelper.cpp:5623
Method
assignClipCullDistance
Clip and cull distance require special handling due to a semantic mismatch. In HLSL, these can be float scalar, float vector, or arrays of float scal
glslang/HLSL/hlslParseHelper.cpp:2610
Method
assignError
Same error message for all places assignments don't work.
glslang/HLSL/hlslParseHelper.cpp:6474
Method
assignFromFragCoord
FragCoord may require special loading: we can optionally reciprocate W.
glslang/HLSL/hlslParseHelper.cpp:2491
Method
assignPosition
Position may require special handling: we can optionally invert Y. See: https://github.com/KhronosGroup/glslang/issues/1173 https://github.com/Khronos
glslang/HLSL/hlslParseHelper.cpp:2549
Method
assignToInterface
Variables that correspond to the user-interface in and out of a stage (not the built-in interface) are - assigned locations - registered as a linkage
glslang/HLSL/hlslParseHelper.cpp:1549
Method
assignment
Map parsing tokens that could be assignments into assignment operators.
glslang/HLSL/hlslOpMap.cpp:44
Method
atomicUintCheck
glslang/MachineIndependent/ParseHelper.cpp:4929
Method
attributeFromName
Implementation of TParseContext parts of attributes
glslang/MachineIndependent/attribute.cpp:100
Method
beginCollect
glslang/MachineIndependent/iomapper.h:68
Method
beginResolve
glslang/MachineIndependent/iomapper.h:66
Method
binary
Map parsing tokens that could be binary operations into binary operators.
glslang/HLSL/hlslOpMap.cpp:65
Method
blockMemberExtensionCheck
glslang/MachineIndependent/ParseHelper.cpp:1167
Method
blockQualifierCheck
Do all block-declaration checking regarding its qualifiers.
glslang/MachineIndependent/ParseHelper.cpp:10889
Method
blockStageIoCheck
Do all block-declaration checking regarding the combination of in/out/uniform/buffer with a particular stage.
glslang/MachineIndependent/ParseHelper.cpp:10797
← previous
next →
2,001–2,100 of 3,297, ranked by callers