MCPcopy Create free account

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

Functions607 in github.com/Unity-Technologies/HLSLcc

↓ 1 callersMethodRebuildReachable
src/ControlFlowGraph.cpp:264
↓ 1 callersMethodReserveFramebufferFetchInputs
src/HLSLCrossCompilerContext.cpp:68
↓ 1 callersMethodReserveNamedBindPoint
include/hlslcc.h:484
↓ 1 callersFunctionResolveStructuredBufferBindingSlots
Go through all declarations and remove reserve UAV occupied binding points
src/toGLSL.cpp:572
↓ 1 callersFunctionSetCBOperandComponents
Mark scalars from CBs. TODO: Do we need to do the same for vec2/3's as well? There may be swizzles involved which make it vec4 or something else again
src/DataTypeAnalysis.cpp:94
↓ 1 callersMethodSetExtensions
src/internal_includes/Translator.h:28
↓ 1 callersMethodSetLanguage
src/toGLSL.cpp:561
↓ 1 callersMethodSetupGLSLResourceBindingSlotsIndices
HLSL has separate register spaces for UAV and structured buffers. GLSL has shared register space for all buffers. The aim here is to preserve the UAV
include/hlslcc.h:464
↓ 1 callersFunctionTest_GetTextureNameFromSamplerName
note that we dont have the means right now to have unit tests in hlslcc, so we do poor man testing below AddSamplerPrecisions is called once for every
src/ShaderInfo.cpp:471
↓ 1 callersFunctionTranslateHLSLFromMem
src/HLSLcc.cpp:53
↓ 1 callersFunctionTranslateVulkanResource
src/toGLSLDeclaration.cpp:1571
↓ 1 callersFunctionUDCheckConsistencyDUChain
Debug mode
src/UseDefineChains.cpp:16
↓ 1 callersFunctionUDCheckConsistencyUDChain
src/UseDefineChains.cpp:70
↓ 1 callersFunctionUDDoSplit
Split out a define to use a new temp register
src/UseDefineChains.cpp:304
↓ 1 callersFunctionUDSplitTemps
Do temp splitting based on use-define chains
src/UseDefineChains.cpp:614
↓ 1 callersFunctionUpdateSamplerPrecisions
Based on the sampler precisions, downgrade the definitions if possible.
src/UseDefineChains.cpp:680
↓ 1 callersFunctionWriteBackUsesAndDefines
Write the uses and defines back to Instruction and Operand member lists.
src/UseDefineChains.cpp:796
↓ 1 callersFunctionbgetsa
int bgetsa (bstring b, bNgetc getcPtr, void * parm, char terminator) * * Use an fgetc-like single character stream reading function (getcPtr) to *
src/cbstring/bstrlib.c:2053
↓ 1 callersFunctionbinsert
int binsert (bstring b1, int pos, bstring b2, unsigned char fill) * * Inserts the string b2 into b1 at position pos. If the position pos is * pa
src/cbstring/bstrlib.c:1594
↓ 1 callersFunctionbinstr
int binstr (const_bstring b1, int pos, const_bstring b2) * * Search for the bstring b2 in b1 starting from position pos, and searching * forward.
src/cbstring/bstrlib.c:1118
↓ 1 callersFunctionblk2bstr
bstring blk2bstr (const void * blk, int len) * * Create a bstring which contains the content of the block blk of length * len. */
src/cbstring/bstrlib.c:256
↓ 1 callersFunctionbpattern
int bpattern (bstring b, int len) * * Replicate the bstring, b in place, end to end repeatedly until it * surpasses len characters, then chop the
src/cbstring/bstrlib.c:1935
↓ 1 callersFunctionbreada
int breada (bstring b, bNread readPtr, void * parm) * * Use a finite buffer fread-like function readPtr to concatenate to the * bstring b the ent
src/cbstring/bstrlib.c:1960
↓ 1 callersFunctionbsFromBstrRef
The "by reference" version of the above function. This function puts * a number of restrictions on the call site (the passed in struct * tagbstri
src/cbstring/bstraux.c:253
↓ 1 callersFunctionbsUuDecode
src/cbstring/bstraux.c:779
↓ 1 callersFunctionbsbufflength
int bsbufflength (struct bStream * s, int sz) * * Set the length of the buffer used by the bStream. If sz is zero, the * length is not set. Thi
src/cbstring/bstrlib.c:2139
↓ 1 callersFunctionbseof
src/cbstring/bstrlib.c:2148
↓ 1 callersFunctionbsplit
struct bstrList * bsplit (const_bstring str, unsigned char splitChar) * * Create an array of sequential substrings from str divided by the characte
src/cbstring/bstrlib.c:2934
↓ 1 callersFunctionbsplitscb
int bsplitscb (const_bstring str, const_bstring splitStr, int pos, * int (* cb) (void * parm, int ofs, int len), void * parm) * * Iterate the set
src/cbstring/bstrlib.c:2815
↓ 1 callersFunctionbsplitstrcb
int bsplitstrcb (const_bstring str, const_bstring splitStr, int pos, * int (* cb) (void * parm, int ofs, int len), void * parm) * * Iterate the s
src/cbstring/bstrlib.c:2864
↓ 1 callersFunctionbsread
int bsread (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 b
src/cbstring/bstrlib.c:2432
↓ 1 callersFunctionbsreadln
int bsreadln (bstring r, struct bStream * s, char terminator) * * Read a bstring terminated by the terminator character or the end of the * strea
src/cbstring/bstrlib.c:2397
↓ 1 callersFunctionbsreadlnsa
int bsreadlnsa (bstring r, struct bStream * s, bstring term) * * Read a bstring terminated by any character in the term string or the end * of th
src/cbstring/bstrlib.c:2250
↓ 1 callersFunctionbssplitscb
int bssplitscb (struct bStream * s, const_bstring splitStr, * int (* cb) (void * parm, int ofs, const_bstring entry), void * parm) * * Iterate th
src/cbstring/bstrlib.c:2534
↓ 1 callersFunctionbstrcmp
int bstrcmp (const_bstring b0, const_bstring b1) * * Compare the string b0 and b1. If there is an error, SHRT_MIN is returned, * otherwise a val
src/cbstring/bstrlib.c:965
↓ 1 callersFunctionbstrrchrp
int bstrrchrp (const_bstring b, int c, int pos) * * Search for the character c in b backwards from the position pos in string * (inclusive). */
src/cbstring/bstrlib.c:1382
↓ 1 callersFunctionbwsWriteBstr
int bwsWriteBstr (struct bwriteStream * ws, const_bstring b) * * Send a bstring to a bwriteStream. If the stream is at EOF BSTR_ERR is * returne
src/cbstring/bstraux.c:1174
↓ 1 callersFunctionbwsWriteFlush
int bwsWriteFlush (struct bwriteStream * ws) * * Force any pending data to be written to the core stream. */
src/cbstring/bstraux.c:1159
↓ 1 callersFunctionprintFloat
Helper function to print floats with full precision
src/toMetalOperand.cpp:267
Function(gets)
src/cbstring/bsafe.c:46
Function(strdup)
src/cbstring/bsafe.c:80
Function(strncat)
src/cbstring/bsafe.c:63
Function(strncpy)
src/cbstring/bsafe.c:54
Function(strtok)
src/cbstring/bsafe.c:72
MethodAddAssignPrologue
src/toGLSLInstruction.cpp:161
MethodAddAssignPrologue
src/toMetalInstruction.cpp:87
MethodAddAssignToDest
src/toGLSLInstruction.cpp:155
MethodAddAssignToDest
src/toMetalInstruction.cpp:81
MethodAddBuiltinInput
src/toGLSLDeclaration.cpp:401
MethodAddBuiltinOutput
src/toGLSLDeclaration.cpp:413
MethodAddChildBasicBlock
src/ControlFlowGraph.cpp:249
MethodAddComparison
src/toGLSLInstruction.cpp:173
MethodAddComparison
src/toMetalInstruction.cpp:98
MethodAddMOVBinaryOp
src/toGLSLInstruction.cpp:336
MethodAddMOVBinaryOp
src/toMetalInstruction.cpp:213
MethodAddMOVCBinaryOp
src/toGLSLInstruction.cpp:351
MethodAddMOVCBinaryOp
src/toMetalInstruction.cpp:229
MethodAddOpAssignToDestWithMask
This function prints out the destination name, possible destination writemask, assignment operator and any possible conversions needed based on the eS
src/toGLSLInstruction.cpp:28
MethodAddOpAssignToDestWithMask
This function prints out the destination name, possible destination writemask, assignment operator and any possible conversions needed based on the eS
src/toMetalInstruction.cpp:71
MethodAddUserOutput
src/toGLSLDeclaration.cpp:594
FunctionAreTempOperandsIdentical
Returns true if operands are identical, only cares about temp registers currently.
src/HLSLccToolkit.cpp:372
MethodBasicBlock
Generate a basic block. Private constructor, can only be constructed from ControlFlowGraph::Build(). Auto-registers itself into ControlFlowGraph
src/ControlFlowGraph.cpp:61
MethodBindingSlotAllocator
include/hlslcc.h:154
FunctionBuildComponentMaskFromElementCount
src/HLSLccToolkit.cpp:223
MethodCallBinaryOp
src/toGLSLInstruction.cpp:507
MethodCallBinaryOp
src/toMetalInstruction.cpp:379
MethodCallHelper1
src/toGLSLInstruction.cpp:745
MethodCallHelper1
src/toMetalInstruction.cpp:599
MethodCallHelper1Int
Result is an int.
src/toGLSLInstruction.cpp:765
MethodCallHelper1Int
Result is an int.
src/toMetalInstruction.cpp:622
MethodCallHelper2
src/toGLSLInstruction.cpp:655
MethodCallHelper2
src/toMetalInstruction.cpp:503
MethodCallHelper2Int
src/toGLSLInstruction.cpp:687
MethodCallHelper2Int
src/toMetalInstruction.cpp:541
MethodCallHelper2UInt
src/toGLSLInstruction.cpp:716
MethodCallHelper2UInt
src/toMetalInstruction.cpp:570
MethodCallHelper3
src/toGLSLInstruction.cpp:623
MethodCallHelper3
src/toMetalInstruction.cpp:460
MethodCallTernaryOp
src/toGLSLInstruction.cpp:592
MethodCallTernaryOp
src/toMetalInstruction.cpp:422
MethodCanForceToHalfOperand
src/toMetalInstruction.cpp:193
MethodClampPartialPrecisions
src/toMetal.cpp:958
MethodCompareFirst
include/hlslcc.h:575
FunctionConcatTextureSamplerName
src/toGLSLOperand.cpp:1850
MethodConditionalInfo
src/internal_includes/toGLSL.h:151
MethodConstantArrayChunk
src/internal_includes/Shader.h:18
MethodConstantArrayInfo
src/internal_includes/Shader.h:36
MethodControlFlowGraph
src/internal_includes/ControlFlowGraph.h:26
FunctionCustomAssert
src/internal_includes/debug.h:7
MethodDeclaration
src/internal_includes/Declaration.h:22
MethodDeclareBufferVariable
src/toMetalDeclaration.cpp:1080
MethodDeclareBuiltinInput
src/toMetalDeclaration.cpp:216
MethodDeclareBuiltinOutput
src/toMetalDeclaration.cpp:344
MethodDeclareClipPlanes
src/toMetalDeclaration.cpp:272
MethodDeclareConstBufferShaderVariable
src/toGLSLDeclaration.cpp:73
MethodDeclareConstantBuffer
src/toMetalDeclaration.cpp:1050
MethodDeclareDynamicIndexWrapper
src/toGLSLOperand.cpp:416
MethodDeclareExtraFunction
src/toMetal.cpp:857
MethodDeclareExtraFunction
src/toGLSL.cpp:1083
MethodDeclareHullShaderPassthrough
src/toMetalDeclaration.cpp:462
← previousnext →301–400 of 607, ranked by callers