MCPcopy Create free account

hub / github.com/Unity-Technologies/HLSLcc / functions

Functions607 in github.com/Unity-Technologies/HLSLcc

↓ 1,253 callersFunctionbcatcstr
int bcatcstr (bstring b, const char * s) * * Concatenate a char * string to a bstring. */
src/cbstring/bstrlib.c:389
↓ 532 callersMethodAddIndentation
src/HLSLCrossCompilerContext.cpp:137
↓ 436 callersFunctionbformata
int bformata (bstring b, const char * fmt, ...) * * After the first parameter, it takes the same parameters as printf (), but * rather than outpu
src/cbstring/bstrlib.c:3073
↓ 120 callersMethodGetNumSwizzleElements
Get the number of elements returned by operand, taking additional component mask into account
src/Operand.cpp:110
↓ 97 callersMethodGetAccessMask
src/Operand.cpp:8
↓ 96 callersFunctionbdestroy
int bdestroy (bstring b) * * Free up the bstring. Note that if b is detectably invalid or not writable * then no action is performed and BSTR_ER
src/cbstring/bstrlib.c:1090
↓ 78 callersMethodGetDataType
src/Operand.cpp:246
↓ 66 callersFunctionDecodeOperand
src/decode.cpp:188
↓ 59 callersFunctionGetConstructorForType
src/HLSLccToolkit.cpp:136
↓ 54 callersFunctionMarkOperandAs
src/DataTypeAnalysis.cpp:71
↓ 42 callersFunctionResourceName
src/toGLSLOperand.cpp:1731
↓ 35 callersFunctionbconchar
int bconchar (bstring b, char c) / * * Concatenate the single character c to the bstring b. */
src/cbstring/bstrlib.c:372
↓ 34 callersFunctionTestAddOpAssignToDest
src/toMetalInstruction.cpp:4027
↓ 33 callersMethodEnableExtension
src/HLSLCrossCompilerContext.cpp:157
↓ 33 callersFunctionballoc
int balloc (bstring b, int len) * * Increase the size of the memory backing the bstring b to at least len. */
src/cbstring/bstrlib.c:98
↓ 32 callersMethodGetRegisterSpace
Returns 0 if the register used by the operand is per-vertex, or 1 if per-patch
src/Operand.cpp:224
↓ 31 callersFunctionbfromcstr
bstring bfromcstr (const char * str) * * Create a bstring which contains the contents of the '\0' terminated char * * buffer str. */
src/cbstring/bstrlib.c:195
↓ 29 callersMethodGetResourceFromBindingPoint
src/ShaderInfo.cpp:25
↓ 27 callersFunctionbconcat
int bconcat (bstring b0, const_bstring b1) * * Concatenate the bstring b1 to the bstring b0. */
src/cbstring/bstrlib.c:336
↓ 24 callersFunctionGetConstructorForTypeMetal
src/HLSLccToolkit.cpp:99
↓ 24 callersMethodGetPatchConstantSignatureFromRegister
src/ShaderInfo.cpp:79
↓ 24 callersFunctionHaveUnsignedTypes
src/internal_includes/languages.h:156
↓ 23 callersFunctionGetEarlyMain
src/HLSLccToolkit.cpp:539
↓ 23 callersFunctionbformat
bstring bformat (const char * fmt, ...) * * Takes the same parameters as printf (), but rather than outputting results * to stdio, it forms a bst
src/cbstring/bstrlib.c:3177
↓ 21 callersMethodGetInputSignatureFromRegister
src/ShaderInfo.cpp:62
↓ 20 callersFunctionIsESLanguage
src/internal_includes/languages.h:82
↓ 20 callersMethodIsVulkan
src/HLSLCrossCompilerContext.cpp:342
↓ 20 callersFunctionbfromcstralloc
bstring bfromcstralloc (int mlen, const char * str) * * Create a bstring which contains the contents of the '\0' terminated char * * buffer str.
src/cbstring/bstrlib.c:225
↓ 19 callersFunctionGetConstructorForTypeGLSL
src/HLSLccToolkit.cpp:58
↓ 19 callersMethodGetOutputSignatureFromRegister
src/ShaderInfo.cpp:108
↓ 19 callersFunctionSVTTypeToFlag
src/HLSLccToolkit.cpp:21
↓ 18 callersMethodRequireExtension
src/HLSLCrossCompilerContext.cpp:147
↓ 16 callersMethodGetBasicBlockForInstruction
src/ControlFlowGraph.cpp:41
↓ 16 callersMethodLast
src/internal_includes/ControlFlowGraph.h:106
↓ 15 callersMethodOnDiagnostics
Called on errors or diagnostic messages
include/hlslcc.h:650
↓ 14 callersFunctionGetNumberBitsSet
src/HLSLccToolkit.cpp:13
↓ 13 callersFunctionDeclareBufferVariable
src/toGLSLDeclaration.cpp:1027
↓ 13 callersMethodGetDeclaredInputName
src/HLSLCrossCompilerContext.cpp:169
↓ 12 callersFunctionbstrcpy
bstring bstrcpy (const_bstring b) * * Create a copy of the bstring b. */
src/cbstring/bstrlib.c:438
↓ 11 callersMethodGetConstantBufferFromBindingPoint
src/ShaderInfo.cpp:19
↓ 11 callersFunctionHaveBitEncodingOps
src/internal_includes/languages.h:169
↓ 11 callersMethodIsSwitch
src/HLSLCrossCompilerContext.cpp:347
↓ 11 callersFunctionTranslateResourceTexture
src/toGLSLDeclaration.cpp:1597
↓ 10 callersFunctionForEachOperand
src/internal_includes/HLSLccToolkit.h:82
↓ 10 callersFunctionGenerateUnsupportedFormatWarning
src/toGLSLDeclaration.cpp:59
↓ 10 callersMethodGetBindingSlot
include/hlslcc.h:168
↓ 10 callersMethodGetVulkanResourceBinding
Retrieve the binding for a resource (texture, constant buffer, image) with a given name If not found, allocate a new one (in set 0) and return that Th
include/hlslcc.h:412
↓ 9 callersFunctionHavePrecisionQualifiers
Only enable for ES. Vulkan and Switch. Not present in 120, ignored in other desktop languages. Specifically enabled on Vulkan.
src/internal_includes/languages.h:56
↓ 9 callersMethodOnConstant
Returns false if this constant var is not needed for this shader. See above.
include/hlslcc.h:660
↓ 9 callersFunctionReadStringFromTokenStream
src/reflect.cpp:31
↓ 9 callersFunctionTranslateOperandSwizzle
src/toGLSLOperand.cpp:59
↓ 8 callersMethodFirst
src/internal_includes/ControlFlowGraph.h:105
↓ 8 callersMethodGetVaryingLocation
Retrieve the location for a varying with a given name. If the name doesn't already have an allocated location, allocate one and store it into the map.
include/hlslcc.h:342
↓ 8 callersFunctionTranslateOperandSwizzleWithMask
src/toGLSLOperand.cpp:64
↓ 8 callersFunctionbdelete
int bdelete (bstring b, int pos, int len) * * Removes characters from pos to pos+len-1 inclusive and shifts the tail of * the bstring starting fr
src/cbstring/bstrlib.c:1053
↓ 7 callersFunctionTypeFlagsToSVTType
src/HLSLccToolkit.cpp:45
↓ 7 callersFunctionUseReflection
src/toGLSLDeclaration.cpp:29
↓ 7 callersFunctionbcstrfree
int bcstrfree (char * s) * * Frees a C-string generated by bstr2cstr (). This is normally unnecessary * since it just wraps a call to bstr__free
src/cbstring/bstrlib.c:322
↓ 7 callersFunctionbuildCharField
Convert a bstring to charField */
src/cbstring/bstrlib.c:1417
↓ 6 callersFunctionEmitLowp
src/internal_includes/languages.h:69
↓ 6 callersFunctionGetSamplerType
Not static because this is used in toGLSLInstruction.cpp when sampling Vulkan textures
src/toGLSLDeclaration.cpp:1388
↓ 6 callersFunctionHaveDynamicIndexing
src/internal_includes/languages.h:195
↓ 6 callersFunctionHaveUniformBindingsAndLocations
layout(binding = X) uniform {uniformA; uniformB;} layout(location = X) uniform uniform_name;
src/internal_includes/languages.h:113
↓ 6 callersMethodIsMemberDeclared
include/hlslcc.h:585
↓ 6 callersFunctionPrintComponentWrapper2
src/toGLSL.cpp:1099
↓ 6 callersFunctionbcatblk
int bcatblk (bstring b, const void * s, int len) * * Concatenate a fixed length buffer to a bstring. */
src/cbstring/bstrlib.c:418
↓ 6 callersFunctionbsreada
int bsreada (bstring r, struct bStream * s, int n) * * Read a bstring of length n (or, if it is fewer, as many bytes as is * remaining) from the
src/cbstring/bstrlib.c:2327
↓ 6 callersFunctionbstr2cstr
char * bstr2cstr (const_bstring s, char z) * * Create a '\0' terminated char * buffer which is equal to the contents of * the bstring s, except t
src/cbstring/bstrlib.c:291
↓ 6 callersFunctionsnapUpSize
Compute the snapped size for a given requested size. By snapping to powers of 2 like this, repeated reallocations are avoided. */
src/cbstring/bstrlib.c:66
↓ 5 callersMethodBuild
src/ControlFlowGraph.cpp:95
↓ 5 callersMethodGetDeclaredOutputName
src/HLSLCrossCompilerContext.cpp:213
↓ 5 callersMethodGetGLSLResourceBinding
include/hlslcc.h:523
↓ 5 callersFunctionGetInterpolationString
src/toGLSLDeclaration.cpp:192
↓ 5 callersMethodGetNumInputElements
src/Operand.cpp:548
↓ 5 callersMethodGetTempComponentCount
src/Shader.cpp:8
↓ 5 callersMethodIsSwizzleReplicated
Single component repeated e..g .wwww
src/Operand.cpp:90
↓ 5 callersFunctionTextureSamplerName
src/toGLSLOperand.cpp:1795
↓ 5 callersFunctionbstrListDestroy
int bstrListDestroy (struct bstrList * sl) * * Destroy a bstrList that has been created by bsplit, bsplits or bstrListCreate. */
src/cbstring/bstrlib.c:2693
↓ 4 callersMethodChangeOperandTempRegister
src/Instruction.cpp:185
↓ 4 callersFunctionDecodeExtendedResourceReturnType
src/internal_includes/tokens.h:59
↓ 4 callersFunctionDecodeOperand4CompSwizzleSource
src/internal_includes/tokens.h:501
↓ 4 callersFunctionDecodeShaderPhase
src/decode.cpp:1312
↓ 4 callersFunctionElemCountToAutoExpandFlag
src/HLSLccToolkit.cpp:348
↓ 4 callersMethodGetMaxComponent
src/Operand.cpp:37
↓ 4 callersMethodGetMemberCount
include/ShaderInfo.h:340
↓ 4 callersFunctionGetPostShaderCode
src/HLSLccToolkit.cpp:556
↓ 4 callersMethodGetTextureDataType
src/ShaderInfo.cpp:10
↓ 4 callersFunctionHaveInOutLocationQualifier
src/internal_includes/languages.h:102
↓ 4 callersFunctionHaveLimitedInOutLocationQualifier
Only on vertex inputs and pixel outputs.
src/internal_includes/languages.h:93
↓ 4 callersFunctionIsMobileTarget
src/internal_includes/languages.h:46
↓ 4 callersFunctionMarkAllOperandsAs
src/DataTypeAnalysis.cpp:84
↓ 4 callersMethodOnInputBinding
include/hlslcc.h:652
↓ 4 callersFunctionOperandPrecisionToShaderVariableType
src/DataTypeAnalysis.cpp:45
↓ 4 callersFunctionParseInlineSamplerWrapMode
src/toMetalDeclaration.cpp:1128
↓ 4 callersFunctionPrintFloat
Helper function to print floats with full precision
src/HLSLccToolkit.cpp:522
↓ 4 callersFunctionPrintTrunc
src/toGLSL.cpp:1106
↓ 4 callersMethodReserveBindingSlot
Func for reserving binding slots with the original reg number. Used for fragment shader UAVs (SetRandomWriteTarget etc).
include/hlslcc.h:185
↓ 4 callersMethodSaveTotalShaderStageAllocationsCount
include/hlslcc.h:206
↓ 4 callersFunctionbase64DecodeSymbol
src/cbstring/bstraux.c:407
↓ 4 callersFunctionbsetstr
int bsetstr (bstring b0, int pos, bstring b1, unsigned char fill) * * Overwrite the string b0 starting at position pos with the string b1. If * t
src/cbstring/bstrlib.c:1533
next →1–100 of 607, ranked by callers