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
↓ 1 callers
Method
AddSamplerPrecisions
src/ShaderInfo.cpp:491
↓ 1 callers
Function
AddSwizzleUsingElementCount
src/HLSLccToolkit.cpp:186
↓ 1 callers
Function
AddVersionDependentCode
src/toGLSL.cpp:93
↓ 1 callers
Function
AllocateHullPhaseArrays
src/decode.cpp:1378
↓ 1 callers
Function
AreInstructionsIdentical
Returns true iff both instructions perform identical operation. For the purposes of Loop transformation, we only consider operations of type tX = tX <
src/LoopTransform.cpp:120
↓ 1 callers
Function
AreTypesCompatible
Returns nonzero if types are just different precisions of the same underlying type
src/toGLSLOperand.cpp:32
↓ 1 callers
Function
AreTypesCompatibleMetal
Returns nonzero if types are just different precisions of the same underlying type
src/toMetalOperand.cpp:32
↓ 1 callers
Function
AttemptLoopTransform
Attempt to transform a single loop into a for-statement
src/LoopTransform.cpp:160
↓ 1 callers
Function
AttemptSplitDefinitions
Check if a set of definitions can be split and does the split. Returns nonzero if a split took place
src/UseDefineChains.cpp:478
↓ 1 callers
Function
BuildLoopInfo
Build a loopinfo array of all the loops in this shader phase
src/LoopTransform.cpp:25
↓ 1 callers
Function
BuildUseDefineChains
Do flow control analysis on the instructions and build the define-use and use-define chains
src/UseDefineChains.cpp:142
↓ 1 callers
Function
CalculateStandaloneDefinitions
src/UseDefineChains.cpp:731
↓ 1 callers
Function
CheckConstantBuffersNoDuplicateNames
src/HLSLcc.cpp:31
↓ 1 callers
Function
ChooseLanguage
src/toGLSL.cpp:356
↓ 1 callers
Method
ClearCrossDependencyData
include/hlslcc.h:597
↓ 1 callers
Function
CoalesceTemps
Coalesce the split temps back based on their original temp register. Keep uint/int/float operations separate
src/Shader.cpp:232
↓ 1 callers
Function
Decode
src/decode.cpp:1480
↓ 1 callers
Function
DecodeDXBC
src/decode.cpp:1513
↓ 1 callers
Function
DecodeExtendedOpcodeType
src/internal_includes/tokens.h:49
↓ 1 callers
Function
DecodeExtendedOperandModifier
src/internal_includes/tokens.h:568
↓ 1 callers
Function
DecodeExtendedOperandType
src/internal_includes/tokens.h:555
↓ 1 callers
Function
DecodeExtendedResourceDimension
src/internal_includes/tokens.h:528
↓ 1 callers
Function
DecodeGSInputPrimitive
src/internal_includes/tokens.h:656
↓ 1 callers
Function
DecodeGSOutputPrimitiveTopology
src/internal_includes/tokens.h:608
↓ 1 callers
Function
DecodeGlobalFlags
src/internal_includes/tokens.h:582
↓ 1 callers
Function
DecodeHullShader
src/decode.cpp:1421
↓ 1 callers
Function
DecodeInstruction
src/decode.cpp:829
↓ 1 callers
Function
DecodeInstructionPreciseMask
src/internal_includes/tokens.h:717
↓ 1 callers
Function
DecodeInstructionSaturate
src/internal_includes/tokens.h:712
↓ 1 callers
Function
DecodeInterfaceArrayLength
The number of interfaces that are defined in this array.
src/internal_includes/tokens.h:693
↓ 1 callers
Function
DecodeInterfaceTableLength
The number of types that implement this interface
src/internal_includes/tokens.h:687
↓ 1 callers
Function
DecodeIsOperandExtended
src/internal_includes/tokens.h:544
↓ 1 callers
Function
DecodeOperand4CompMask
src/internal_includes/tokens.h:474
↓ 1 callers
Function
DecodeOperand4CompSel1
src/internal_includes/tokens.h:484
↓ 1 callers
Function
DecodeOperand4CompSelMode
src/internal_includes/tokens.h:459
↓ 1 callers
Function
DecodeOperand4CompSwizzle
src/internal_includes/tokens.h:479
↓ 1 callers
Function
DecodeOperandIndexDimension
src/internal_includes/tokens.h:343
↓ 1 callers
Function
DecodeOperandIndexRepresentation
src/internal_includes/tokens.h:434
↓ 1 callers
Function
DecodeOperandMinPrecision
src/internal_includes/tokens.h:732
↓ 1 callers
Function
DecodeOperandNumComponents
src/internal_includes/tokens.h:447
↓ 1 callers
Function
DecodeOperandSpecialName
src/internal_includes/tokens.h:416
↓ 1 callers
Function
DecodeOperandType
src/internal_includes/tokens.h:411
↓ 1 callers
Function
DecodeResourceReturnType
src/internal_includes/tokens.h:54
↓ 1 callers
Function
DecodeSamplerMode
src/internal_includes/tokens.h:784
↓ 1 callers
Function
DecodeShaderType
src/internal_includes/tokens.h:16
↓ 1 callers
Function
DecodeSyncFlags
src/internal_includes/tokens.h:681
↓ 1 callers
Function
DecodeTessDomain
src/internal_includes/tokens.h:666
↓ 1 callers
Function
DecodeTessOutPrim
src/internal_includes/tokens.h:671
↓ 1 callers
Function
DecodeTessPartitioning
src/internal_includes/tokens.h:661
↓ 1 callers
Function
DoAssignmentDataTypesMatch
Returns true if we can do direct assignment between types (mostly for mediump<->highp floats etc)
src/HLSLccToolkit.cpp:231
↓ 1 callers
Function
DoHullShaderPassthrough
src/toMetal.cpp:61
↓ 1 callers
Function
DoHullShaderPassthrough
src/toGLSL.cpp:466
↓ 1 callers
Function
EmitInlineSampler
src/toMetalDeclaration.cpp:1146
↓ 1 callers
Function
GatherOperandAccessMasks
src/Shader.cpp:213
↓ 1 callers
Function
GenerateUnsupportedReadWriteFormatWarning
src/toGLSLDeclaration.cpp:66
↓ 1 callers
Function
GetBitcastOp
src/toGLSLOperand.cpp:327
↓ 1 callers
Function
GetInterpolationString
src/toMetalDeclaration.cpp:873
↓ 1 callers
Function
GetPhaseFuncName
src/toMetal.cpp:48
↓ 1 callers
Function
GetSrcSwizzleOperand
Returns the result swizzle operand for an instruction, or NULL if all src operands have swizzles
src/Instruction.cpp:6
↓ 1 callers
Function
GetTextureDimension
src/toGLSLDeclaration.cpp:1343
↓ 1 callers
Function
GetTextureNameFromSamplerName
src/ShaderInfo.cpp:390
↓ 1 callers
Function
GetVersionString
src/toGLSL.cpp:376
↓ 1 callers
Function
GetVulkanTextureType
src/toGLSLDeclaration.cpp:1182
↓ 1 callers
Function
HasOnlyFloatUsages
Returns true if all the usages of this definitions are instructions that deal with floating point data
src/UseDefineChains.cpp:644
↓ 1 callers
Function
HaveAtomicCounter
src/internal_includes/languages.h:274
↓ 1 callers
Function
HaveCompute
src/internal_includes/languages.h:301
↓ 1 callers
Function
HaveCubemapArray
src/internal_includes/languages.h:75
↓ 1 callers
Function
HaveFragmentCoordConventions
src/internal_includes/languages.h:256
↓ 1 callers
Function
HaveGather
src/internal_includes/languages.h:220
↓ 1 callers
Function
HaveGatherNonConstOffset
src/internal_includes/languages.h:229
↓ 1 callers
Function
HaveGeometryShaderARB
src/internal_includes/languages.h:265
↓ 1 callers
Function
HaveImageAtomics
src/internal_includes/languages.h:292
↓ 1 callers
Function
HaveImageLoadStore
src/internal_includes/languages.h:310
↓ 1 callers
Function
HaveOverloadedTextureFuncs
src/internal_includes/languages.h:37
↓ 1 callers
Function
HaveQueryLevels
src/internal_includes/languages.h:247
↓ 1 callers
Function
IsAddOneInstruction
src/HLSLccToolkit.cpp:404
↓ 1 callers
Function
IsOffsetInType
src/ShaderInfo.cpp:183
↓ 1 callers
Method
IsPartialPrecisionSamplerInstruction
Returns nonzero if psInst is a sample instruction and the sampler has medium or low precision
src/Instruction.cpp:312
↓ 1 callers
Function
IsPreTransformConstantBufferName
include/UnityInstancingFlexibleArraySize.h:19
↓ 1 callers
Function
IsScalarTempComparisonInstruction
Returns true if the given instruction is a non-vectorized int or uint comparison instruction that reads from at least one temp and writes to a temp
src/LoopTransform.cpp:82
↓ 1 callers
Function
IsUnityInstancingConstantBufferName
TODO: share with Runtime/GfxDevice/InstancingUtilities.h
include/UnityInstancingFlexibleArraySize.h:13
↓ 1 callers
Function
LoadShaderInfo
src/reflect.cpp:564
↓ 1 callers
Function
MarkTextureSamplerPair
src/decode.cpp:160
↓ 1 callers
Method
OnBuiltinOutput
include/hlslcc.h:672
↓ 1 callers
Method
OnFragmentOutputDeclaration
include/hlslcc.h:673
↓ 1 callers
Method
OnStorageImage
include/hlslcc.h:682
↓ 1 callers
Method
OnTessellationInfo
include/hlslcc.h:666
↓ 1 callers
Method
OnTessellationKernelInfo
include/hlslcc.h:667
↓ 1 callers
Method
OnThreadGroupSize
include/hlslcc.h:665
↓ 1 callers
Method
OnVertexProgramOutput
these are for now metal only (but can be trivially added for other backends if needed) they are useful mostly for diagnostics as interim values are ac
include/hlslcc.h:671
↓ 1 callers
Method
PeekFirstFreeSlot
include/hlslcc.h:201
↓ 1 callers
Function
PrintStructDeclaration
src/toMetal.cpp:12
↓ 1 callers
Method
PruneConstArrays
In DX bytecode, all const arrays are vec4's, and all arrays are stuffed to one large array. Luckily, each chunk is always accessed with suboperand plu
src/Shader.cpp:591
↓ 1 callers
Function
ReadClassInstance
src/reflect.cpp:483
↓ 1 callers
Function
ReadClassType
src/reflect.cpp:467
↓ 1 callers
Function
ReadConstantBuffer
src/reflect.cpp:295
↓ 1 callers
Function
ReadInterfaces
src/reflect.cpp:499
↓ 1 callers
Function
ReadResourceBinding
src/reflect.cpp:195
↓ 1 callers
Function
ReadResources
src/reflect.cpp:389
↓ 1 callers
Function
ReadShaderVariableType
Read D3D11_SHADER_TYPE_DESC
src/reflect.cpp:241
← previous
next →
201–300 of 607, ranked by callers