MCPcopy Create free account

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

Functions607 in github.com/Unity-Technologies/HLSLcc

↓ 1 callersMethodAddSamplerPrecisions
src/ShaderInfo.cpp:491
↓ 1 callersFunctionAddSwizzleUsingElementCount
src/HLSLccToolkit.cpp:186
↓ 1 callersFunctionAddVersionDependentCode
src/toGLSL.cpp:93
↓ 1 callersFunctionAllocateHullPhaseArrays
src/decode.cpp:1378
↓ 1 callersFunctionAreInstructionsIdentical
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 callersFunctionAreTypesCompatible
Returns nonzero if types are just different precisions of the same underlying type
src/toGLSLOperand.cpp:32
↓ 1 callersFunctionAreTypesCompatibleMetal
Returns nonzero if types are just different precisions of the same underlying type
src/toMetalOperand.cpp:32
↓ 1 callersFunctionAttemptLoopTransform
Attempt to transform a single loop into a for-statement
src/LoopTransform.cpp:160
↓ 1 callersFunctionAttemptSplitDefinitions
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 callersFunctionBuildLoopInfo
Build a loopinfo array of all the loops in this shader phase
src/LoopTransform.cpp:25
↓ 1 callersFunctionBuildUseDefineChains
Do flow control analysis on the instructions and build the define-use and use-define chains
src/UseDefineChains.cpp:142
↓ 1 callersFunctionCalculateStandaloneDefinitions
src/UseDefineChains.cpp:731
↓ 1 callersFunctionCheckConstantBuffersNoDuplicateNames
src/HLSLcc.cpp:31
↓ 1 callersFunctionChooseLanguage
src/toGLSL.cpp:356
↓ 1 callersMethodClearCrossDependencyData
include/hlslcc.h:597
↓ 1 callersFunctionCoalesceTemps
Coalesce the split temps back based on their original temp register. Keep uint/int/float operations separate
src/Shader.cpp:232
↓ 1 callersFunctionDecode
src/decode.cpp:1480
↓ 1 callersFunctionDecodeDXBC
src/decode.cpp:1513
↓ 1 callersFunctionDecodeExtendedOpcodeType
src/internal_includes/tokens.h:49
↓ 1 callersFunctionDecodeExtendedOperandModifier
src/internal_includes/tokens.h:568
↓ 1 callersFunctionDecodeExtendedOperandType
src/internal_includes/tokens.h:555
↓ 1 callersFunctionDecodeExtendedResourceDimension
src/internal_includes/tokens.h:528
↓ 1 callersFunctionDecodeGSInputPrimitive
src/internal_includes/tokens.h:656
↓ 1 callersFunctionDecodeGSOutputPrimitiveTopology
src/internal_includes/tokens.h:608
↓ 1 callersFunctionDecodeGlobalFlags
src/internal_includes/tokens.h:582
↓ 1 callersFunctionDecodeHullShader
src/decode.cpp:1421
↓ 1 callersFunctionDecodeInstruction
src/decode.cpp:829
↓ 1 callersFunctionDecodeInstructionPreciseMask
src/internal_includes/tokens.h:717
↓ 1 callersFunctionDecodeInstructionSaturate
src/internal_includes/tokens.h:712
↓ 1 callersFunctionDecodeInterfaceArrayLength
The number of interfaces that are defined in this array.
src/internal_includes/tokens.h:693
↓ 1 callersFunctionDecodeInterfaceTableLength
The number of types that implement this interface
src/internal_includes/tokens.h:687
↓ 1 callersFunctionDecodeIsOperandExtended
src/internal_includes/tokens.h:544
↓ 1 callersFunctionDecodeOperand4CompMask
src/internal_includes/tokens.h:474
↓ 1 callersFunctionDecodeOperand4CompSel1
src/internal_includes/tokens.h:484
↓ 1 callersFunctionDecodeOperand4CompSelMode
src/internal_includes/tokens.h:459
↓ 1 callersFunctionDecodeOperand4CompSwizzle
src/internal_includes/tokens.h:479
↓ 1 callersFunctionDecodeOperandIndexDimension
src/internal_includes/tokens.h:343
↓ 1 callersFunctionDecodeOperandIndexRepresentation
src/internal_includes/tokens.h:434
↓ 1 callersFunctionDecodeOperandMinPrecision
src/internal_includes/tokens.h:732
↓ 1 callersFunctionDecodeOperandNumComponents
src/internal_includes/tokens.h:447
↓ 1 callersFunctionDecodeOperandSpecialName
src/internal_includes/tokens.h:416
↓ 1 callersFunctionDecodeOperandType
src/internal_includes/tokens.h:411
↓ 1 callersFunctionDecodeResourceReturnType
src/internal_includes/tokens.h:54
↓ 1 callersFunctionDecodeSamplerMode
src/internal_includes/tokens.h:784
↓ 1 callersFunctionDecodeShaderType
src/internal_includes/tokens.h:16
↓ 1 callersFunctionDecodeSyncFlags
src/internal_includes/tokens.h:681
↓ 1 callersFunctionDecodeTessDomain
src/internal_includes/tokens.h:666
↓ 1 callersFunctionDecodeTessOutPrim
src/internal_includes/tokens.h:671
↓ 1 callersFunctionDecodeTessPartitioning
src/internal_includes/tokens.h:661
↓ 1 callersFunctionDoAssignmentDataTypesMatch
Returns true if we can do direct assignment between types (mostly for mediump<->highp floats etc)
src/HLSLccToolkit.cpp:231
↓ 1 callersFunctionDoHullShaderPassthrough
src/toMetal.cpp:61
↓ 1 callersFunctionDoHullShaderPassthrough
src/toGLSL.cpp:466
↓ 1 callersFunctionEmitInlineSampler
src/toMetalDeclaration.cpp:1146
↓ 1 callersFunctionGatherOperandAccessMasks
src/Shader.cpp:213
↓ 1 callersFunctionGenerateUnsupportedReadWriteFormatWarning
src/toGLSLDeclaration.cpp:66
↓ 1 callersFunctionGetBitcastOp
src/toGLSLOperand.cpp:327
↓ 1 callersFunctionGetInterpolationString
src/toMetalDeclaration.cpp:873
↓ 1 callersFunctionGetPhaseFuncName
src/toMetal.cpp:48
↓ 1 callersFunctionGetSrcSwizzleOperand
Returns the result swizzle operand for an instruction, or NULL if all src operands have swizzles
src/Instruction.cpp:6
↓ 1 callersFunctionGetTextureDimension
src/toGLSLDeclaration.cpp:1343
↓ 1 callersFunctionGetTextureNameFromSamplerName
src/ShaderInfo.cpp:390
↓ 1 callersFunctionGetVersionString
src/toGLSL.cpp:376
↓ 1 callersFunctionGetVulkanTextureType
src/toGLSLDeclaration.cpp:1182
↓ 1 callersFunctionHasOnlyFloatUsages
Returns true if all the usages of this definitions are instructions that deal with floating point data
src/UseDefineChains.cpp:644
↓ 1 callersFunctionHaveAtomicCounter
src/internal_includes/languages.h:274
↓ 1 callersFunctionHaveCompute
src/internal_includes/languages.h:301
↓ 1 callersFunctionHaveCubemapArray
src/internal_includes/languages.h:75
↓ 1 callersFunctionHaveFragmentCoordConventions
src/internal_includes/languages.h:256
↓ 1 callersFunctionHaveGather
src/internal_includes/languages.h:220
↓ 1 callersFunctionHaveGatherNonConstOffset
src/internal_includes/languages.h:229
↓ 1 callersFunctionHaveGeometryShaderARB
src/internal_includes/languages.h:265
↓ 1 callersFunctionHaveImageAtomics
src/internal_includes/languages.h:292
↓ 1 callersFunctionHaveImageLoadStore
src/internal_includes/languages.h:310
↓ 1 callersFunctionHaveOverloadedTextureFuncs
src/internal_includes/languages.h:37
↓ 1 callersFunctionHaveQueryLevels
src/internal_includes/languages.h:247
↓ 1 callersFunctionIsAddOneInstruction
src/HLSLccToolkit.cpp:404
↓ 1 callersFunctionIsOffsetInType
src/ShaderInfo.cpp:183
↓ 1 callersMethodIsPartialPrecisionSamplerInstruction
Returns nonzero if psInst is a sample instruction and the sampler has medium or low precision
src/Instruction.cpp:312
↓ 1 callersFunctionIsPreTransformConstantBufferName
include/UnityInstancingFlexibleArraySize.h:19
↓ 1 callersFunctionIsScalarTempComparisonInstruction
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 callersFunctionIsUnityInstancingConstantBufferName
TODO: share with Runtime/GfxDevice/InstancingUtilities.h
include/UnityInstancingFlexibleArraySize.h:13
↓ 1 callersFunctionLoadShaderInfo
src/reflect.cpp:564
↓ 1 callersFunctionMarkTextureSamplerPair
src/decode.cpp:160
↓ 1 callersMethodOnBuiltinOutput
include/hlslcc.h:672
↓ 1 callersMethodOnFragmentOutputDeclaration
include/hlslcc.h:673
↓ 1 callersMethodOnStorageImage
include/hlslcc.h:682
↓ 1 callersMethodOnTessellationInfo
include/hlslcc.h:666
↓ 1 callersMethodOnTessellationKernelInfo
include/hlslcc.h:667
↓ 1 callersMethodOnThreadGroupSize
include/hlslcc.h:665
↓ 1 callersMethodOnVertexProgramOutput
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 callersMethodPeekFirstFreeSlot
include/hlslcc.h:201
↓ 1 callersFunctionPrintStructDeclaration
src/toMetal.cpp:12
↓ 1 callersMethodPruneConstArrays
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 callersFunctionReadClassInstance
src/reflect.cpp:483
↓ 1 callersFunctionReadClassType
src/reflect.cpp:467
↓ 1 callersFunctionReadConstantBuffer
src/reflect.cpp:295
↓ 1 callersFunctionReadInterfaces
src/reflect.cpp:499
↓ 1 callersFunctionReadResourceBinding
src/reflect.cpp:195
↓ 1 callersFunctionReadResources
src/reflect.cpp:389
↓ 1 callersFunctionReadShaderVariableType
Read D3D11_SHADER_TYPE_DESC
src/reflect.cpp:241
← previousnext →201–300 of 607, ranked by callers