MCPcopy Create free account

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

Functions607 in github.com/Unity-Technologies/HLSLcc

↓ 4 callersFunctionbtrunc
int btrunc (bstring b, int n) * * Truncate the bstring to at most n characters. */
src/cbstring/bstrlib.c:593
↓ 3 callersFunctionAddDefineToList
Adds a define and all its siblings to the list, checking duplicates
src/UseDefineChains.cpp:451
↓ 3 callersFunctionBuildOperandTypeString
src/toMetalDeclaration.cpp:416
↓ 3 callersFunctionDeclareRWStructuredBufferTemplateTypeAsInteger
src/toGLSLDeclaration.cpp:999
↓ 3 callersFunctionDecodeAccessCoherencyFlags
src/internal_includes/tokens.h:760
↓ 3 callersFunctionDecodeImmediateAddressOffset
src/internal_includes/tokens.h:753
↓ 3 callersFunctionDecodeInstructionLength
src/internal_includes/tokens.h:31
↓ 3 callersFunctionDecodeInterpolationMode
src/internal_includes/tokens.h:587
↓ 3 callersFunctionDecodeIsOpcodeExtended
src/internal_includes/tokens.h:36
↓ 3 callersFunctionDecodeNameToken
src/decode.cpp:51
↓ 3 callersFunctionDecodeOpcodeType
src/internal_includes/tokens.h:330
↓ 3 callersFunctionDoSignatureAnalysis
src/Shader.cpp:423
↓ 3 callersFunctionFormatVariableName
src/reflect.cpp:9
↓ 3 callersFunctionGetMatrixTypeName
src/HLSLccToolkit.cpp:144
↓ 3 callersFunctionGetPhaseFuncName
src/toGLSL.cpp:453
↓ 3 callersFunctionGetSamplerPrecision
src/toGLSLDeclaration.cpp:1553
↓ 3 callersFunctionHaveNativeBitwiseOps
src/internal_includes/languages.h:182
↓ 3 callersFunctionHaveQueryLod
src/internal_includes/languages.h:238
↓ 3 callersFunctionInOutSupported
src/internal_includes/languages.h:8
↓ 3 callersFunctionIsUnityFlexibleInstancingBuffer
src/HLSLccToolkit.cpp:506
↓ 3 callersFunctionMaskToRebaseOffset
src/reflect.cpp:37
↓ 3 callersMethodOnBufferBinding
include/hlslcc.h:664
↓ 3 callersMethodOnConstantBuffer
Returns false if this constant buffer is not needed for this shader. This info can be used for pruning unused constant buffers and vars from compute s
include/hlslcc.h:657
↓ 3 callersMethodOnConstantBufferBinding
include/hlslcc.h:662
↓ 3 callersMethodOnTextureBinding
include/hlslcc.h:663
↓ 3 callersMethodOutputNeedsDeclaring
src/HLSLCrossCompilerContext.cpp:279
↓ 3 callersFunctionReadOutputSignatures
src/reflect.cpp:93
↓ 3 callersFunctionResourceReturnTypeToFlag
src/HLSLccToolkit.cpp:251
↓ 3 callersFunctionResourceReturnTypeToSVTType
src/HLSLccToolkit.cpp:267
↓ 3 callersMethodSetInterpolationMode
include/hlslcc.h:565
↓ 3 callersFunctionTranslateResourceDeclaration
src/toMetalDeclaration.cpp:714
↓ 3 callersFunctionUDCheckConsistency
src/UseDefineChains.cpp:98
↓ 3 callersFunctionUniformBufferInstanceName
Take an uniform buffer name and generate an instance name.
src/toGLSLOperand.cpp:1857
↓ 3 callersFunctionWriteToFragData
src/internal_includes/languages.h:17
↓ 3 callersFunctionbInsertChrs
int bInsertChrs (bstring b, int pos, int len, unsigned char c, unsigned char fill) * * Insert a repeated sequence of a given character into the str
src/cbstring/bstraux.c:96
↓ 3 callersFunctionbJustifyLeft
int bJustifyLeft (bstring b, int space) * * Left justify a string. */
src/cbstring/bstraux.c:115
↓ 3 callersFunctionbassign
int bassign (bstring a, const_bstring b) * * Overwrite the string a with the contents of string b. */
src/cbstring/bstrlib.c:482
↓ 3 callersFunctionbfindreplace
int bfindreplace (bstring b, const_bstring find, const_bstring repl, * int pos) * * Replace all occurrences of a find string wi
src/cbstring/bstrlib.c:1869
↓ 3 callersFunctionbmidstr
bstring bmidstr (const_bstring b, int left, int len) * * Create a bstring which is the substring of b starting from position left * and running f
src/cbstring/bstrlib.c:1030
↓ 3 callersFunctionbsopen
struct bStream * bsopen (bNread readPtr, void * parm) * * Wrap a given open stream (described by a fread compatible function * pointer and stream
src/cbstring/bstrlib.c:2119
↓ 3 callersFunctionbsplitcb
int bsplitcb (const_bstring str, unsigned char splitChar, int pos, * int (* cb) (void * parm, int ofs, int len), void * parm) * * Iterate the set
src/cbstring/bstrlib.c:2777
↓ 3 callersFunctionbstrchrp
int bstrchrp (const_bstring b, int c, int pos) * * Search for the character c in b forwards from the position pos * (inclusive). */
src/cbstring/bstrlib.c:1367
↓ 2 callersFunctionAddOpAssignToDest
src/toMetalInstruction.cpp:23
↓ 2 callersMethodAnalyzeIOOverlap
Check if inputs and outputs are accessed across semantic boundaries as in, 2x texcoord vec2's are packed together as vec4 but still accessed together.
src/Shader.cpp:538
↓ 2 callersFunctionCanDoDirectCast
Returns true if a direct constructor can convert src->dest
src/HLSLccToolkit.cpp:484
↓ 2 callersMethodClearDependencyData
src/HLSLCrossCompilerContext.cpp:117
↓ 2 callersMethodConsolidateHullTempVars
src/Shader.cpp:38
↓ 2 callersFunctionDeclareInput
src/toGLSLDeclaration.cpp:232
↓ 2 callersFunctionDecodeDeclaration
src/decode.cpp:393
↓ 2 callersFunctionDecodeInstrTestBool
src/internal_includes/tokens.h:539
↓ 2 callersFunctionDecodeOutputControlPointCount
src/internal_includes/tokens.h:737
↓ 2 callersFunctionDecodeProgramMajorVersion
src/internal_includes/tokens.h:21
↓ 2 callersFunctionDecodeProgramMinorVersion
src/internal_includes/tokens.h:26
↓ 2 callersFunctionDecodeResInfoReturnType
src/internal_includes/tokens.h:772
↓ 2 callersFunctionDecodeResourceDimension
src/internal_includes/tokens.h:523
↓ 2 callersMethodDoDataTypeAnalysis
src/HLSLCrossCompilerContext.cpp:14
↓ 2 callersFunctionDoLoopTransform
src/LoopTransform.cpp:353
↓ 2 callersFunctionDoSrcOperandRebase
Tweak the source operands of an instruction so that the rebased write mask will still work
src/Instruction.cpp:144
↓ 2 callersFunctionDualSourceBlendSupported
src/internal_includes/languages.h:126
↓ 2 callersMethodExpandSWAPCs
src/Shader.cpp:780
↓ 2 callersMethodFindUnusedGlobals
src/Shader.cpp:945
↓ 2 callersMethodForcePositionToHighp
src/Shader.cpp:889
↓ 2 callersMethodGetDynamicIndexOperand
src/Operand.cpp:578
↓ 2 callersMethodGetInterfaceVarFromOffset
src/ShaderInfo.cpp:45
↓ 2 callersMethodGetInterpolationMode
include/hlslcc.h:557
↓ 2 callersFunctionGetNumTextureDimensions
src/HLSLccToolkit.cpp:437
↓ 2 callersFunctionGetOrCreateDefinition
src/UseDefineChains.cpp:115
↓ 2 callersMethodGetOutputSignatureFromSystemValue
src/ShaderInfo.cpp:132
↓ 2 callersFunctionHaveAtomicMem
src/internal_includes/languages.h:283
↓ 2 callersFunctionHavePreciseQualifier
src/internal_includes/languages.h:319
↓ 2 callersMethodIsHullShaderInputAlreadyDeclared
include/hlslcc.h:609
↓ 2 callersFunctionMakeCBVarName
src/toMetalOperand.cpp:329
↓ 2 callersFunctionMarkTextureAsShadow
Find the declaration of the texture described by psTextureOperand and mark it as a shadow type. (e.g. accessed via sampler2DShadow rather than sampler
src/decode.cpp:142
↓ 2 callersFunctionPrintComponentWrapper1
src/toGLSL.cpp:1092
↓ 2 callersMethodPruneTempRegisters
Mark whether the temp registers are used per each data type.
src/Shader.cpp:376
↓ 2 callersFunctionReadInputSignatures
src/reflect.cpp:49
↓ 2 callersFunctionReadPatchConstantSignatures
src/reflect.cpp:144
↓ 2 callersMethodRecordHullShaderInput
include/hlslcc.h:625
↓ 2 callersMethodResolveUAVProperties
Image (RWTexture in HLSL) declaration op does not provide enough info about the format and accessing. Go through all image declarations and instructio
src/Shader.cpp:72
↓ 2 callersFunctionSVTTypeToPrecision
src/HLSLccToolkit.cpp:327
↓ 2 callersFunctionSVTTypeToResourceReturnType
src/HLSLccToolkit.cpp:307
↓ 2 callersFunctionSelectHigherType
Returns the "more important" type of a and b, currently int < uint < float
src/HLSLccToolkit.cpp:461
↓ 2 callersMethodSetMaxSemanticIndex
src/Shader.cpp:576
↓ 2 callersFunctionSetVectorType
Helper function to set the vector type of 1 or more components in a vector If the existing values (in vector we're writing to) are all SVT_VOID, just
src/DataTypeAnalysis.cpp:15
↓ 2 callersMethodTranslate
src/toGLSL.cpp:594
↓ 2 callersMethodTranslateSystemValue
src/toGLSLDeclaration.cpp:3749
↓ 2 callersFunctionTypeToReport
src/toGLSLDeclaration.cpp:34
↓ 2 callersMethodUnvectorizeImmMoves
src/Shader.cpp:747
↓ 2 callersFunctionWriteMaskToComponentCount
Calculate the bits set in mask
src/HLSLccToolkit.cpp:214
↓ 2 callersFunctionbUuDecLine
src/cbstring/bstraux.c:563
↓ 2 callersFunctionbinchr
int binchr (const_bstring b0, int pos, const_bstring b1); * * Search for the first position in b0 starting from pos or after, in which * one of t
src/cbstring/bstrlib.c:1454
↓ 2 callersFunctionbinchrCF
Inner engine for binchr */
src/cbstring/bstrlib.c:1437
↓ 2 callersFunctionbinchrrCF
Inner engine for binchrr */
src/cbstring/bstrlib.c:1465
↓ 2 callersFunctionbsclose
void * bsclose (struct bStream * s) * * Close the bStream, and return the handle to the stream that was originally * used to open the given strea
src/cbstring/bstrlib.c:2159
↓ 2 callersFunctionbsreadlna
int bsreadlna (bstring r, struct bStream * s, char terminator) * * Read a bstring terminated by the terminator character or the end of the * stre
src/cbstring/bstrlib.c:2180
↓ 2 callersFunctionbsunread
int bsunread (struct bStream * s, const_bstring b) * * Insert a bstring into the bStream at the current position. These * characters will be rea
src/cbstring/bstrlib.c:2447
↓ 2 callersFunctionfindreplaceengine
src/cbstring/bstrlib.c:1706
↓ 2 callersFunctioninvertCharField
src/cbstring/bstrlib.c:1429
↓ 2 callersFunctionprintImmediate32
Helper function to print out a single 32-bit immediate value in desired format
src/toGLSLOperand.cpp:356
↓ 2 callersFunctionprintImmediate32
Helper function to print out a single 32-bit immediate value in desired format
src/toMetalOperand.cpp:282
← previousnext →101–200 of 607, ranked by callers