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
Method
DeclareOutput
src/toMetalDeclaration.cpp:2270
Method
DeclareResource
src/toMetalDeclaration.cpp:2190
Method
DeclareStructConstants
src/toGLSLDeclaration.cpp:1094
Method
DeclareStructType
src/toMetalDeclaration.cpp:1031
Method
DeclareStructVariable
src/toMetalDeclaration.cpp:903
Method
DeclareUBOConstants
src/toGLSLDeclaration.cpp:877
Function
DecodeCustomDataClass
src/internal_includes/tokens.h:707
Method
Define
src/internal_includes/Operand.h:131
Method
DefineUseChainEntry
src/internal_includes/UseDefineChains.h:33
Method
Definition
src/internal_includes/ControlFlowGraph.h:65
Method
DoIOOverlapOperand
src/Shader.cpp:470
Method
EnsureShadowSamplerDeclared
src/toMetalDeclaration.cpp:2443
Method
GLSLCrossDependencyData
include/hlslcc.h:324
Method
GenerateTexturesReflection
src/toMetalDeclaration.cpp:324
Method
GetCBName
src/toMetal.cpp:905
Method
GetCBVarSize
src/ShaderInfo.cpp:150
Method
GetDataType
include/ShaderInfo.h:250
Method
GetGLSLBufferBindPointIndex
include/hlslcc.h:495
Method
GetInputStructName
src/toMetal.cpp:885
Method
GetJumpPoint
For a given flow-control instruction, find the corresponding jump location: If the input is OPCODE_IF, then find the next same-level ELSE or ENDIF +1
src/ControlFlowGraphUtils.cpp:35
Method
GetMemberCount
include/ShaderInfo.h:377
Method
GetNextNonLabelInstruction
Get the next instruction that's not one of CASE, DEFAULT, LOOP, ENDSWITCH
src/ControlFlowGraphUtils.cpp:9
Method
GetOutputStructName
src/toMetal.cpp:864
Method
GetResInfoData
src/toGLSLInstruction.cpp:987
Method
GetResInfoData
src/toMetalInstruction.cpp:906
Method
GetShaderVarFromOffset
src/ShaderInfo.cpp:256
Method
GetShaderVarIndexedFullName
Patches the fullName of the var with given array indices. Does not insert the indexing for the var itself if it is an array. Searches for brackets and
src/ShaderInfo.cpp:314
Method
GetVaryingNamespace
include/hlslcc.h:279
Method
GetVulkanDummySamplerName
Texel fetches etc need a dummy sampler (because glslang wants one, for Reasons(tm)). Any non-shadow sampler will do, so try to get one from sampler re
src/toGLSLInstruction.cpp:790
Method
HLSLCrossCompilerContext
src/internal_includes/HLSLCrossCompilerContext.h:18
Method
HLSLccReflection
include/hlslcc.h:646
Method
HandleInputRedirect
src/toMetalDeclaration.cpp:597
Method
HandleInputRedirect
src/toGLSLDeclaration.cpp:1689
Method
HandleOutputRedirect
src/toMetalDeclaration.cpp:510
Method
HandleOutputRedirect
src/toGLSLDeclaration.cpp:505
Method
HandleSwitchTransformation
src/toGLSLInstruction.cpp:2108
Method
IndexableTemp_TAG
src/internal_includes/Declaration.h:104
Method
Instruction
src/internal_includes/Instruction.h:24
Method
IsConditionalBranchInstruction
Returns true if this instruction is a conditional branch
src/internal_includes/Instruction.h:119
Function
IsDesktopGLLanguage
src/internal_includes/languages.h:87
Function
IsOperationCommutative
Returns true if the operation is commutative
src/HLSLccToolkit.cpp:354
Method
LoopInfo
src/LoopTransform.cpp:14
Method
Operand
src/internal_includes/Operand.h:22
Function
PixelInterpDependency
Before 430, flat/smooth/centroid/noperspective must match between fragment and its previous stage. HLSL bytecode only tells us the interpolation in pi
src/internal_includes/languages.h:147
Method
PreDeclareStructType
In GLSL embedded structure definitions are not supported.
src/toGLSLDeclaration.cpp:153
Method
PrintStructDeclarations
src/toMetal.cpp:38
Function
PruneRedirectEntry
src/Shader.cpp:530
Method
RVarUnion
src/ControlFlowGraph.cpp:317
Method
RemoveBindPointFromAvailableList
include/hlslcc.h:472
Method
RenderTargetDeclared
src/toGLSLDeclaration.cpp:392
Method
ReportStruct
src/toGLSLDeclaration.cpp:856
Method
ReserveUAVBindingSlots
src/toMetal.cpp:968
Method
ResourceName
src/toMetalDeclaration.cpp:2113
Method
ResourcePrecisionToOperandPrecision
src/Operand.cpp:533
Method
ResourceTypeToResourceGroup
src/ShaderInfo.cpp:356
Method
SetDataTypes
src/DataTypeAnalysis.cpp:220
Method
SetIOPrefixes
src/toMetal.cpp:932
Method
SetIOPrefixes
In GLSL, the input and output names cannot clash. Also, the output name of previous stage must match the input name of the next stage. So, do gymnasti
src/toGLSL.cpp:28
Method
SetPartialDataTypes
src/DataTypeAnalysis.cpp:126
Method
Shader
src/internal_includes/Shader.h:115
Function
ShaderBitEncodingSupported
src/internal_includes/languages.h:26
Method
ShaderInfo
include/ShaderInfo.h:436
Method
ShaderPhase
src/internal_includes/Shader.h:45
Method
ShaderVarType
include/ShaderInfo.h:309
Method
ShouldUseBufferSpecificBinding
include/hlslcc.h:490
Method
StructDefinition
include/hlslcc.h:134
Function
SubroutinesSupported
src/internal_includes/languages.h:135
Method
SwitchConversion
src/internal_includes/toGLSL.h:177
Function
TEST
src/toMetalInstruction.cpp:4038
Function
TEST
src/ControlFlowGraph.cpp:344
Method
TGSM_TAG
src/internal_includes/Declaration.h:91
Method
ToGLSL
src/internal_includes/toGLSL.h:16
Method
ToMetal
src/internal_includes/toMetal.h:24
Method
Translate
src/toMetal.cpp:78
Method
TranslateAtomicMemOp
src/toGLSLInstruction.cpp:1639
Method
TranslateAtomicMemOp
src/toMetalInstruction.cpp:1426
Method
TranslateConditional
src/toGLSLInstruction.cpp:2043
Method
TranslateConditional
src/toMetalInstruction.cpp:1832
Method
TranslateDeclaration
src/toMetalDeclaration.cpp:1237
Method
TranslateDeclaration
src/toGLSLDeclaration.cpp:1808
Method
TranslateDynamicComponentSelection
Handle cases where vector components are accessed with dynamic index ([] notation). A bit ugly hack because compiled HLSL uses byte offsets to access
src/toGLSLInstruction.cpp:1421
Method
TranslateDynamicComponentSelection
Handle cases where vector components are accessed with dynamic index ([] notation). A bit ugly hack because compiled HLSL uses byte offsets to access
src/toMetalInstruction.cpp:1219
Function
TranslateHLSLFromFile
src/HLSLcc.cpp:212
Method
TranslateInstruction
src/toGLSLInstruction.cpp:2171
Method
TranslateInstruction
src/toMetalInstruction.cpp:1905
Method
TranslateOperand
src/toGLSLOperand.cpp:1639
Method
TranslateOperand
src/toMetalOperand.cpp:1209
Method
TranslateOperandIndex
src/toGLSLOperand.cpp:247
Method
TranslateOperandIndex
src/toMetalOperand.cpp:207
Method
TranslateOperandIndexMAD
src/toGLSLOperand.cpp:283
Method
TranslateOperandSwizzle
src/toMetalOperand.cpp:47
Method
TranslateResourceTexture
src/toMetalDeclaration.cpp:2156
Method
TranslateShaderStorageLoad
src/toGLSLInstruction.cpp:1539
Method
TranslateShaderStorageLoad
src/toMetalInstruction.cpp:1324
Method
TranslateShaderStorageStore
src/toGLSLInstruction.cpp:1454
Method
TranslateShaderStorageStore
src/toMetalInstruction.cpp:1238
Method
TranslateSystemValue
src/toMetalDeclaration.cpp:22
Method
TranslateTexCoord
Makes sure the texture coordinate swizzle is appropriate for the texture type. i.e. vecX for X-dimension texture. Currently supports floating point co
src/toGLSLInstruction.cpp:939
Method
TranslateTexCoord
Makes sure the texture coordinate swizzle is appropriate for the texture type. i.e. vecX for X-dimension texture. Currently supports floating point co
src/toMetalInstruction.cpp:814
Method
TranslateTexelFetch
src/toGLSLInstruction.cpp:819
← previous
next →
401–500 of 607, ranked by callers