Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Unity-Technologies/HLSLcc
/ functions
Functions
607 in github.com/Unity-Technologies/HLSLcc
⨍
Functions
607
◇
Types & classes
149
↓ 4 callers
Function
btrunc
int btrunc (bstring b, int n) * * Truncate the bstring to at most n characters. */
src/cbstring/bstrlib.c:593
↓ 3 callers
Function
AddDefineToList
Adds a define and all its siblings to the list, checking duplicates
src/UseDefineChains.cpp:451
↓ 3 callers
Function
BuildOperandTypeString
src/toMetalDeclaration.cpp:416
↓ 3 callers
Function
DeclareRWStructuredBufferTemplateTypeAsInteger
src/toGLSLDeclaration.cpp:999
↓ 3 callers
Function
DecodeAccessCoherencyFlags
src/internal_includes/tokens.h:760
↓ 3 callers
Function
DecodeImmediateAddressOffset
src/internal_includes/tokens.h:753
↓ 3 callers
Function
DecodeInstructionLength
src/internal_includes/tokens.h:31
↓ 3 callers
Function
DecodeInterpolationMode
src/internal_includes/tokens.h:587
↓ 3 callers
Function
DecodeIsOpcodeExtended
src/internal_includes/tokens.h:36
↓ 3 callers
Function
DecodeNameToken
src/decode.cpp:51
↓ 3 callers
Function
DecodeOpcodeType
src/internal_includes/tokens.h:330
↓ 3 callers
Function
DoSignatureAnalysis
src/Shader.cpp:423
↓ 3 callers
Function
FormatVariableName
src/reflect.cpp:9
↓ 3 callers
Function
GetMatrixTypeName
src/HLSLccToolkit.cpp:144
↓ 3 callers
Function
GetPhaseFuncName
src/toGLSL.cpp:453
↓ 3 callers
Function
GetSamplerPrecision
src/toGLSLDeclaration.cpp:1553
↓ 3 callers
Function
HaveNativeBitwiseOps
src/internal_includes/languages.h:182
↓ 3 callers
Function
HaveQueryLod
src/internal_includes/languages.h:238
↓ 3 callers
Function
InOutSupported
src/internal_includes/languages.h:8
↓ 3 callers
Function
IsUnityFlexibleInstancingBuffer
src/HLSLccToolkit.cpp:506
↓ 3 callers
Function
MaskToRebaseOffset
src/reflect.cpp:37
↓ 3 callers
Method
OnBufferBinding
include/hlslcc.h:664
↓ 3 callers
Method
OnConstantBuffer
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 callers
Method
OnConstantBufferBinding
include/hlslcc.h:662
↓ 3 callers
Method
OnTextureBinding
include/hlslcc.h:663
↓ 3 callers
Method
OutputNeedsDeclaring
src/HLSLCrossCompilerContext.cpp:279
↓ 3 callers
Function
ReadOutputSignatures
src/reflect.cpp:93
↓ 3 callers
Function
ResourceReturnTypeToFlag
src/HLSLccToolkit.cpp:251
↓ 3 callers
Function
ResourceReturnTypeToSVTType
src/HLSLccToolkit.cpp:267
↓ 3 callers
Method
SetInterpolationMode
include/hlslcc.h:565
↓ 3 callers
Function
TranslateResourceDeclaration
src/toMetalDeclaration.cpp:714
↓ 3 callers
Function
UDCheckConsistency
src/UseDefineChains.cpp:98
↓ 3 callers
Function
UniformBufferInstanceName
Take an uniform buffer name and generate an instance name.
src/toGLSLOperand.cpp:1857
↓ 3 callers
Function
WriteToFragData
src/internal_includes/languages.h:17
↓ 3 callers
Function
bInsertChrs
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 callers
Function
bJustifyLeft
int bJustifyLeft (bstring b, int space) * * Left justify a string. */
src/cbstring/bstraux.c:115
↓ 3 callers
Function
bassign
int bassign (bstring a, const_bstring b) * * Overwrite the string a with the contents of string b. */
src/cbstring/bstrlib.c:482
↓ 3 callers
Function
bfindreplace
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 callers
Function
bmidstr
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 callers
Function
bsopen
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 callers
Function
bsplitcb
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 callers
Function
bstrchrp
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 callers
Function
AddOpAssignToDest
src/toMetalInstruction.cpp:23
↓ 2 callers
Method
AnalyzeIOOverlap
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 callers
Function
CanDoDirectCast
Returns true if a direct constructor can convert src->dest
src/HLSLccToolkit.cpp:484
↓ 2 callers
Method
ClearDependencyData
src/HLSLCrossCompilerContext.cpp:117
↓ 2 callers
Method
ConsolidateHullTempVars
src/Shader.cpp:38
↓ 2 callers
Function
DeclareInput
src/toGLSLDeclaration.cpp:232
↓ 2 callers
Function
DecodeDeclaration
src/decode.cpp:393
↓ 2 callers
Function
DecodeInstrTestBool
src/internal_includes/tokens.h:539
↓ 2 callers
Function
DecodeOutputControlPointCount
src/internal_includes/tokens.h:737
↓ 2 callers
Function
DecodeProgramMajorVersion
src/internal_includes/tokens.h:21
↓ 2 callers
Function
DecodeProgramMinorVersion
src/internal_includes/tokens.h:26
↓ 2 callers
Function
DecodeResInfoReturnType
src/internal_includes/tokens.h:772
↓ 2 callers
Function
DecodeResourceDimension
src/internal_includes/tokens.h:523
↓ 2 callers
Method
DoDataTypeAnalysis
src/HLSLCrossCompilerContext.cpp:14
↓ 2 callers
Function
DoLoopTransform
src/LoopTransform.cpp:353
↓ 2 callers
Function
DoSrcOperandRebase
Tweak the source operands of an instruction so that the rebased write mask will still work
src/Instruction.cpp:144
↓ 2 callers
Function
DualSourceBlendSupported
src/internal_includes/languages.h:126
↓ 2 callers
Method
ExpandSWAPCs
src/Shader.cpp:780
↓ 2 callers
Method
FindUnusedGlobals
src/Shader.cpp:945
↓ 2 callers
Method
ForcePositionToHighp
src/Shader.cpp:889
↓ 2 callers
Method
GetDynamicIndexOperand
src/Operand.cpp:578
↓ 2 callers
Method
GetInterfaceVarFromOffset
src/ShaderInfo.cpp:45
↓ 2 callers
Method
GetInterpolationMode
include/hlslcc.h:557
↓ 2 callers
Function
GetNumTextureDimensions
src/HLSLccToolkit.cpp:437
↓ 2 callers
Function
GetOrCreateDefinition
src/UseDefineChains.cpp:115
↓ 2 callers
Method
GetOutputSignatureFromSystemValue
src/ShaderInfo.cpp:132
↓ 2 callers
Function
HaveAtomicMem
src/internal_includes/languages.h:283
↓ 2 callers
Function
HavePreciseQualifier
src/internal_includes/languages.h:319
↓ 2 callers
Method
IsHullShaderInputAlreadyDeclared
include/hlslcc.h:609
↓ 2 callers
Function
MakeCBVarName
src/toMetalOperand.cpp:329
↓ 2 callers
Function
MarkTextureAsShadow
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 callers
Function
PrintComponentWrapper1
src/toGLSL.cpp:1092
↓ 2 callers
Method
PruneTempRegisters
Mark whether the temp registers are used per each data type.
src/Shader.cpp:376
↓ 2 callers
Function
ReadInputSignatures
src/reflect.cpp:49
↓ 2 callers
Function
ReadPatchConstantSignatures
src/reflect.cpp:144
↓ 2 callers
Method
RecordHullShaderInput
include/hlslcc.h:625
↓ 2 callers
Method
ResolveUAVProperties
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 callers
Function
SVTTypeToPrecision
src/HLSLccToolkit.cpp:327
↓ 2 callers
Function
SVTTypeToResourceReturnType
src/HLSLccToolkit.cpp:307
↓ 2 callers
Function
SelectHigherType
Returns the "more important" type of a and b, currently int < uint < float
src/HLSLccToolkit.cpp:461
↓ 2 callers
Method
SetMaxSemanticIndex
src/Shader.cpp:576
↓ 2 callers
Function
SetVectorType
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 callers
Method
Translate
src/toGLSL.cpp:594
↓ 2 callers
Method
TranslateSystemValue
src/toGLSLDeclaration.cpp:3749
↓ 2 callers
Function
TypeToReport
src/toGLSLDeclaration.cpp:34
↓ 2 callers
Method
UnvectorizeImmMoves
src/Shader.cpp:747
↓ 2 callers
Function
WriteMaskToComponentCount
Calculate the bits set in mask
src/HLSLccToolkit.cpp:214
↓ 2 callers
Function
bUuDecLine
src/cbstring/bstraux.c:563
↓ 2 callers
Function
binchr
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 callers
Function
binchrCF
Inner engine for binchr */
src/cbstring/bstrlib.c:1437
↓ 2 callers
Function
binchrrCF
Inner engine for binchrr */
src/cbstring/bstrlib.c:1465
↓ 2 callers
Function
bsclose
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 callers
Function
bsreadlna
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 callers
Function
bsunread
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 callers
Function
findreplaceengine
src/cbstring/bstrlib.c:1706
↓ 2 callers
Function
invertCharField
src/cbstring/bstrlib.c:1429
↓ 2 callers
Function
printImmediate32
Helper function to print out a single 32-bit immediate value in desired format
src/toGLSLOperand.cpp:356
↓ 2 callers
Function
printImmediate32
Helper function to print out a single 32-bit immediate value in desired format
src/toMetalOperand.cpp:282
← previous
next →
101–200 of 607, ranked by callers