MCPcopy Create free account

hub / github.com/KhronosGroup/glslang / functions

Functions3,297 in github.com/KhronosGroup/glslang

MethodacceptSamplerState
sampler_state : LEFT_BRACE [sampler_state_assignment ... ] RIGHT_BRACE sampler_state_assignment : sampler_state_identifier EQUAL value SEMICOLON sam
glslang/HLSL/hlslGrammar.cpp:192
MethodacceptSamplerType
sampler_type : SAMPLER | SAMPLER1D | SAMPLER2D | SAMPLER3D | SAMPLERCUBE | SAMPLERSTATE | SAMPLERCOMPARISONSTATE
glslang/HLSL/hlslGrammar.cpp:1280
MethodacceptSamplerTypeDX9
sampler_type for DX9 compatibility : SAMPLER | SAMPLER1D | SAMPLER2D | SAMPLER3D | SAMPLERCUBE
glslang/HLSL/hlslGrammar.cpp:1235
MethodacceptScopedCompoundStatement
glslang/HLSL/hlslGrammar.cpp:3747
MethodacceptScopedStatement
glslang/HLSL/hlslGrammar.cpp:3738
MethodacceptSelectionStatement
selection_statement : IF LEFT_PAREN expression RIGHT_PAREN statement : IF LEFT_PAREN expression RIGHT_PAREN statement ELSE statement
glslang/HLSL/hlslGrammar.cpp:3934
MethodacceptSimpleStatement
simple_statement : SEMICOLON | declaration_statement | expression SEMICOLON
glslang/HLSL/hlslGrammar.cpp:3678
MethodacceptStatement
statement : attributes attributed_statement attributed_statement : compound_statement | simple_statement | selection_statement | switch_statement | c
glslang/HLSL/hlslGrammar.cpp:3769
MethodacceptStreamOutTemplateType
stream_out_template_type : output_primitive_geometry_type LEFT_ANGLE type RIGHT_ANGLE
glslang/HLSL/hlslGrammar.cpp:1108
MethodacceptStruct
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
MethodacceptStructBufferType
struct_buffer : APPENDSTRUCTUREDBUFFER | BYTEADDRESSBUFFER | CONSUMESTRUCTUREDBUFFER | RWBYTEADDRESSBUFFER | RWSTRUCTUREDBUFFER | STRUCTUREDBUFFER
glslang/HLSL/hlslGrammar.cpp:2582
MethodacceptStructDeclarationList
struct_declaration_list : struct_declaration SEMI_COLON struct_declaration SEMI_COLON ... struct_declaration : attributes fully_specified_type struct
glslang/HLSL/hlslGrammar.cpp:2687
MethodacceptSubpassInputType
subpass input type : SUBPASSINPUT | SUBPASSINPUT VECTOR LEFT_ANGLE template_type RIGHT_ANGLE | SUBPASSINPUTMS | SUBPASSINPUTMS VECTOR LEFT_ANGLE templ
glslang/HLSL/hlslGrammar.cpp:1171
MethodacceptSwitchStatement
switch_statement : SWITCH LEFT_PAREN expression RIGHT_PAREN compound_statement
glslang/HLSL/hlslGrammar.cpp:3987
MethodacceptTemplateVecMatBasicType
template_type : FLOAT | DOUBLE | INT | DWORD | UINT | BOOL
glslang/HLSL/hlslGrammar.cpp:853
MethodacceptTessellationDeclType
tessellation_decl_type : INPUTPATCH | OUTPUTPATCH
glslang/HLSL/hlslGrammar.cpp:1045
MethodacceptTessellationPatchTemplateType
tessellation_patch_template_type : tessellation_decl_type LEFT_ANGLE type comma integer_literal RIGHT_ANGLE
glslang/HLSL/hlslGrammar.cpp:1064
MethodacceptTextureBufferType
texture_buffer : TEXTUREBUFFER LEFT_ANGLE type RIGHT_ANGLE
glslang/HLSL/hlslGrammar.cpp:2540
MethodacceptTextureType
glslang/HLSL/hlslGrammar.cpp:1332
MethodacceptTokenClass
Return true and advance to the next token if the current token is the expected (passed in) token class.
glslang/HLSL/hlslTokenStream.cpp:140
MethodacceptType
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
MethodacceptUnaryExpression
unary_expression : (type) unary_expression | + unary_expression | - unary_expression | ! unary_expression | ~ unary_expression | ++ unary_expression |
glslang/HLSL/hlslGrammar.cpp:3302
MethodacceptVectorTemplateType
vector_template_type : VECTOR | VECTOR LEFT_ANGLE template_type COMMA integer_literal RIGHT_ANGLE
glslang/HLSL/hlslGrammar.cpp:904
MethodaccessChainLoad
Comments in header
SPIRV/SpvBuilder.cpp:4716
MethodaccessChainStore
Comments in header
SPIRV/SpvBuilder.cpp:4652
Methodadd2ndGenerationSamplingImaging
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
MethodaddAssign
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
MethodaddAtomFixed
Add bi-directional mappings: - string -> atom - atom -> string
glslang/MachineIndependent/preprocessor/PpContext.h:175
MethodaddBiShapeConversion
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
MethodaddBlockName
glslang/MachineIndependent/reflection.cpp:638
MethodaddBlockStorageOverride
glslang/MachineIndependent/localintermediate.h:1050
MethodaddConstructor
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
MethodaddConstructor
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
MethodaddDereferencedUniform
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
MethodaddFlattenedMember
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
MethodaddFunctionCall
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
MethodaddGatherFunctions
Helper function for add2ndGenerationSamplingImaging(), when adding context-independent built-in functions. Add all the texture gather functions for t
glslang/MachineIndependent/Initialize.cpp:8128
MethodaddGenMulArgumentConversion
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
MethodaddGlobalReference
glslang/MachineIndependent/LiveTraverser.h:187
MethodaddImageFunctions
Helper function for add2ndGenerationSamplingImaging(), when adding context-independent built-in functions. Add all the image access functions for the
glslang/MachineIndependent/Initialize.cpp:7613
MethodaddImageProcessing2QCOMDecoration
SPIRV/GlslangToSpv.cpp:11507
MethodaddImageProcessingQCOMDecoration
SPIRV/GlslangToSpv.cpp:11490
MethodaddIndirectionIndexCapabilities
Add capabilities pertaining to how an array is indexed.
SPIRV/GlslangToSpv.cpp:1535
MethodaddInputArgumentConversions
Add any needed implicit conversions for function-call arguments to input parameters.
glslang/MachineIndependent/ParseHelper.cpp:2551
MethodaddInputArgumentConversions
Add any needed implicit conversions for function-call arguments to input parameters.
glslang/HLSL/hlslParseHelper.cpp:5781
MethodaddInstruction
SPIRV/spvIR.h:654
MethodaddInstructionNoDebugInfo
SPIRV/SpvBuilder.cpp:2672
MethodaddLinkageDecoration
SPIRV/SpvBuilder.cpp:2499
MethodaddLocalVariable
SPIRV/spvIR.h:326
MethodaddMacroDef
glslang/MachineIndependent/preprocessor/PpContext.h:341
MethodaddMeshNVDecoration
add per-primitive, per-view. per-task decorations to a struct member (member >= 0) or an object
SPIRV/GlslangToSpv.cpp:11434
MethodaddOutputArgumentConversions
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
MethodaddOutputArgumentConversions
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
MethodaddPairConversion
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
MethodaddPatchConstantInvocation
Finalization step: Add patch constant function invocation
glslang/HLSL/hlslParseHelper.cpp:9877
MethodaddPipeIOVariable
glslang/MachineIndependent/reflection.cpp:118
MethodaddPrefix
glslang/MachineIndependent/SymbolTable.h:298
MethodaddProcess
glslang/MachineIndependent/localintermediate.h:1151
MethodaddProcesses
glslang/MachineIndependent/localintermediate.h:1146
MethodaddQualifierToExisting
For an identifier that is already declared, add more qualification to it.
glslang/HLSL/hlslParseHelper.cpp:9096
MethodaddQueryFunctions
Helper function for add2ndGenerationSamplingImaging(), when adding context-independent built-in functions. Add all the query functions for the given
glslang/MachineIndependent/Initialize.cpp:7487
MethodaddSamplingFunctions
Helper function for add2ndGenerationSamplingImaging(), when adding context-independent built-in functions. Add all the texture lookup functions for t
glslang/MachineIndependent/Initialize.cpp:7860
FunctionaddShader
glslang/Public/ShaderLang.h:887
MethodaddSourceText
glslang/MachineIndependent/localintermediate.h:1142
MethodaddStage
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
MethodaddStage
glslang/MachineIndependent/iomapper.h:87
MethodaddStructBuffArguments
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
MethodaddStructBufferHiddenCounterParam
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
MethodaddSubpassSampling
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
MethodaddTabledBuiltins
Add declarations for all tables of built-in functions.
glslang/MachineIndependent/Initialize.cpp:508
MethodaddUniform
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
MethodaddUniformLocationOverride
glslang/MachineIndependent/localintermediate.h:1010
Methodaddress
glslang/Include/PoolAlloc.h:290
Methodadvance
advance one character
glslang/MachineIndependent/Scan.h:229
MethodadvanceToken
Load 'token' with the next token in the stream of tokens.
glslang/HLSL/hlslTokenStream.cpp:101
Methodalloc
glslang/Include/arrays.h:211
Methodallocate
glslang/MachineIndependent/PoolAlloc.cpp:224
MethodallocationSize
Return total size needed to accommodate user buffer of 'size', plus our tracking data.
glslang/Include/PoolAlloc.h:102
Methodamend
Add more members to an already inserted aggregate object
glslang/MachineIndependent/SymbolTable.h:476
Functionandroid_main
ndk_test/test.cpp:17
MethodapplySpirvDecorate
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
MethodareAllChildConst
glslang/MachineIndependent/Constant.cpp:1214
MethodarrayError
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
MethodarrayLimitCheck
Do limit checks for built-in arrays.
glslang/MachineIndependent/ParseHelper.cpp:6611
MethodarraySizeRequiredCheck
Require array to be completely sized
glslang/HLSL/hlslParseHelper.cpp:6891
MethodarraySizesCheck
glslang/MachineIndependent/ParseHelper.cpp:5623
MethodassignClipCullDistance
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
MethodassignError
Same error message for all places assignments don't work.
glslang/HLSL/hlslParseHelper.cpp:6474
MethodassignFromFragCoord
FragCoord may require special loading: we can optionally reciprocate W.
glslang/HLSL/hlslParseHelper.cpp:2491
MethodassignPosition
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
MethodassignToInterface
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
Methodassignment
Map parsing tokens that could be assignments into assignment operators.
glslang/HLSL/hlslOpMap.cpp:44
MethodatomicUintCheck
glslang/MachineIndependent/ParseHelper.cpp:4929
MethodattributeFromName
Implementation of TParseContext parts of attributes
glslang/MachineIndependent/attribute.cpp:100
MethodbeginCollect
glslang/MachineIndependent/iomapper.h:68
MethodbeginResolve
glslang/MachineIndependent/iomapper.h:66
Methodbinary
Map parsing tokens that could be binary operations into binary operators.
glslang/HLSL/hlslOpMap.cpp:65
MethodblockMemberExtensionCheck
glslang/MachineIndependent/ParseHelper.cpp:1167
MethodblockQualifierCheck
Do all block-declaration checking regarding its qualifiers.
glslang/MachineIndependent/ParseHelper.cpp:10889
MethodblockStageIoCheck
Do all block-declaration checking regarding the combination of in/out/uniform/buffer with a particular stage.
glslang/MachineIndependent/ParseHelper.cpp:10797
← previousnext →2,001–2,100 of 3,297, ranked by callers