glsl-0.0.1.1: Parser and optimizer for a small subset of GLSL
Contents
Index
Index
addDecl
Language.GLSL.Decls
addDeclN
Language.GLSL.Decls
addDeclNE
Language.GLSL.Decls
addEdge
Language.GLSL.Optimizer.DFG
addNode
Language.GLSL.Optimizer.DFG
allEqual
Language.GLSL.Optimizer.Deinline
Annot
Language.GLSL.AST
annot
Language.GLSL.AST
argCountForFunName
Language.GLSL.AST
assemble
Language.GLSL.BitCode
AssignStmt
Language.GLSL.AST
AtomExpr
Language.GLSL.AST
B
Language.GLSL.Internal.Bits
BinaryExpr
Language.GLSL.AST
BinaryOp
Language.GLSL.AST
Bits
Language.GLSL.Internal.Bits
BitsBinaryOp
Language.GLSL.BitCode
BitsExpr
Language.GLSL.BitCode
BitsExprAtom
Language.GLSL.BitCode
BitsFunName
Language.GLSL.BitCode
BitsStmt
Language.GLSL.BitCode
BitsType
Language.GLSL.BitCode
BoolValue
Language.GLSL.Runtime.Value
BOpAnd
Language.GLSL.AST
BOpDiv
Language.GLSL.AST
BOpGE
Language.GLSL.AST
BOpGT
Language.GLSL.AST
BOpLE
Language.GLSL.AST
BOpLT
Language.GLSL.AST
BOpMinus
Language.GLSL.AST
BOpMul
Language.GLSL.AST
BOpOr
Language.GLSL.AST
BOpPlus
Language.GLSL.AST
Cast
1 (Type/Class)
Language.GLSL.AST
2 (Data Constructor)
Language.GLSL.AST
clamp
Language.GLSL.Runtime.Math
clEmit
Language.GLSL.Optimizer.Liveness
clExpr
Language.GLSL.Optimizer.Liveness
clExprAtom
Language.GLSL.Optimizer.Liveness
clNameExpr
Language.GLSL.Optimizer.Liveness
clStmt
Language.GLSL.Optimizer.Liveness
clStmtAnnot
Language.GLSL.Optimizer.Liveness
clStmtAnnots
Language.GLSL.Optimizer.Liveness
clTopDecl
Language.GLSL.Optimizer.Liveness
collectConstExprs
Language.GLSL.ConstExpr
computeLiveness
Language.GLSL.Optimizer.Liveness
Config
1 (Type/Class)
Language.GLSL.Optimizer.Deinline
2 (Data Constructor)
Language.GLSL.Optimizer.Deinline
ConstExprs
Language.GLSL.ConstExpr
Decls
1 (Type/Class)
Language.GLSL.Decls
2 (Data Constructor)
Language.GLSL.Decls
decls
Language.GLSL.Optimizer.DFG
declsIn
Language.GLSL.Decls
declsOut
Language.GLSL.Decls
declsS
Language.GLSL.Decls
declsT
Language.GLSL.Decls
DeclStmt
Language.GLSL.AST
declsU
Language.GLSL.Decls
declsVF
Language.GLSL.Decls
defaultConfig
Language.GLSL.Optimizer.Deinline
defaultValue
Language.GLSL.Runtime.Value
delete
Language.GLSL.Optimizer.Liveness
deleteBody
Language.GLSL.Optimizer.Deinline
DFG
1 (Type/Class)
Language.GLSL.Optimizer.DFG
2 (Data Constructor)
Language.GLSL.Optimizer.DFG
DFGEdge
1 (Type/Class)
Language.GLSL.Optimizer.DFG
2 (Data Constructor)
Language.GLSL.Optimizer.DFG
dfgExpr
Language.GLSL.Optimizer.DFG
dfgExprAtom
Language.GLSL.Optimizer.DFG
dfgGlobalDecl
Language.GLSL.Optimizer.DFG
dfgGLSL
Language.GLSL.Optimizer.DFG
dfgLocalDecl
Language.GLSL.Optimizer.DFG
DFGNode
1 (Type/Class)
Language.GLSL.Optimizer.DFG
2 (Data Constructor)
Language.GLSL.Optimizer.DFG
DFGState
Language.GLSL.Optimizer.DFG
dfgStmt
Language.GLSL.Optimizer.DFG
dfgStmtAnnot
Language.GLSL.Optimizer.DFG
dfgStructMember
Language.GLSL.Optimizer.DFG
dfgTopDecl
Language.GLSL.Optimizer.DFG
discoverGlobalDecl
Language.GLSL.Runtime.Eval
discoverTopDecl
Language.GLSL.Runtime.Eval
diStmts
Language.GLSL.Optimizer.Deinline
diTopDecl
Language.GLSL.Optimizer.Deinline
Emit
Language.GLSL.AST
EmitFragDepth
Language.GLSL.AST
EmitPosition
Language.GLSL.AST
EmitStmt
Language.GLSL.AST
empty
1 (Function)
Language.GLSL.ConstExpr
2 (Function)
Language.GLSL.Optimizer.Liveness
emptyDecls
Language.GLSL.Decls
emptyDFG
Language.GLSL.Optimizer.DFG
emptyLocals
Language.GLSL.Runtime.Eval
encodeArgs
Language.GLSL.BitCode
encodeBinaryOp
Language.GLSL.BitCode
encodeEmit
Language.GLSL.BitCode
encodeExpr
Language.GLSL.BitCode
encodeExprAtom
Language.GLSL.BitCode
encodeExprAtomType
Language.GLSL.BitCode
encodeFunName
Language.GLSL.BitCode
encodeLocalDecl
Language.GLSL.BitCode
encodeStmt
Language.GLSL.BitCode
encodeSwizzle
Language.GLSL.BitCode
encodeType
Language.GLSL.BitCode
encodeUnaryOp
Language.GLSL.BitCode
encodeVecSize
Language.GLSL.BitCode
eqEmit
Language.GLSL.StructuralEquality
eqExpr
Language.GLSL.StructuralEquality
eqExprAtom
Language.GLSL.StructuralEquality
eqLocalDecl
Language.GLSL.StructuralEquality
eqMaybe
Language.GLSL.StructuralEquality
eqNameExpr
Language.GLSL.StructuralEquality
eqStmt
Language.GLSL.StructuralEquality
eqStmtAnnot
Language.GLSL.StructuralEquality
eqStmtAnnots
Language.GLSL.StructuralEquality
eqType
Language.GLSL.StructuralEquality
Eval
Language.GLSL.Runtime.Value
eval
1 (Function)
Language.GLSL.Runtime.PrimFuns
2 (Function)
Language.GLSL.Runtime.Eval
evalBinaryOp
Language.GLSL.Runtime.Value
evalCoerce
Language.GLSL.Runtime.Value
evalEmit
Language.GLSL.Runtime.Eval
evalExpr
Language.GLSL.Runtime.Eval
evalExprAtom
Language.GLSL.Runtime.Eval
evalGLSL
Language.GLSL.Runtime.Eval
evalLocalDecl
Language.GLSL.Runtime.Eval
evalMain
Language.GLSL.Runtime.Eval
evalMatIndex
Language.GLSL.Runtime.Eval
evalProc
Language.GLSL.Runtime.Eval
EvalResult
1 (Type/Class)
Language.GLSL.Runtime.Value
2 (Data Constructor)
Language.GLSL.Runtime.Value
EvalState
1 (Type/Class)
Language.GLSL.Runtime.Value
2 (Data Constructor)
Language.GLSL.Runtime.Value
evalStmt
Language.GLSL.Runtime.Eval
evalStmtAnnot
Language.GLSL.Runtime.Eval
evalUnaryOp
Language.GLSL.Runtime.Value
evalVecIndex
Language.GLSL.Runtime.Eval
expand
Language.GLSL.Internal.Bits
Expandable
Language.GLSL.Internal.Bits
Expr
Language.GLSL.AST
ExprAtom
Language.GLSL.AST
fill
Language.GLSL.Internal.Bits
findBody
Language.GLSL.Optimizer.Deinline
flat
Language.GLSL.Internal.Bits
FloatValue
Language.GLSL.Runtime.Value
floor
Language.GLSL.Runtime.Math
flt
Language.GLSL.Runtime.PrimFuns
fract
Language.GLSL.Runtime.Math
fromResult
Language.GLSL.Runtime.Value
fromUniformId
Language.GLSL.Decls
FunCallExpr
Language.GLSL.AST
FunName
Language.GLSL.AST
GDecl
Language.GLSL.AST
GDeclKind
Language.GLSL.AST
genDFG
Language.GLSL.Optimizer.DFG
getDecl
Language.GLSL.Decls
getDeclN
Language.GLSL.Decls
getDeclNE
Language.GLSL.Decls
getDecls
Language.GLSL.Decls
getValue
Language.GLSL.Runtime.Eval
GkIn
Language.GLSL.AST
GkOut
Language.GLSL.AST
GkUniform
Language.GLSL.AST
GlobalDecl
1 (Type/Class)
Language.GLSL.AST
2 (Data Constructor)
Language.GLSL.AST
globals
Language.GLSL.Runtime.Value
GLSL
1 (Type/Class)
Language.GLSL.AST
2 (Data Constructor)
Language.GLSL.AST
gl_Position
Language.GLSL.Runtime.Value
gr
Language.GLSL.Optimizer.DFG
I
Language.GLSL.Internal.Bits
IdentifierExpr
Language.GLSL.AST
ifCond
Language.GLSL.Optimizer.DFG
IfStmt
Language.GLSL.AST
insert
Language.GLSL.Optimizer.Liveness
IntValue
Language.GLSL.Runtime.Value
isConstExpr
Language.GLSL.ConstExpr
isIdentifierExpr
Language.GLSL.AST
isLitExpr
Language.GLSL.AST
isNaNValue
Language.GLSL.Runtime.Value
LayoutDecl
Language.GLSL.AST
LayoutLocation
Language.GLSL.AST
LayoutSpec
Language.GLSL.AST
LayoutStd140
Language.GLSL.AST
LDecl
Language.GLSL.AST
LitFloatExpr
Language.GLSL.AST
LitIntExpr
Language.GLSL.AST
Liveness
1 (Type/Class)
Language.GLSL.Optimizer.Liveness
2 (Data Constructor)
Language.GLSL.Optimizer.Liveness
LocalDecl
Language.GLSL.AST
LocalState
1 (Type/Class)
Language.GLSL.Runtime.Eval
2 (Data Constructor)
Language.GLSL.Runtime.Eval
main
1 (Function)
Language.GLSL.BitCode
2 (Function)
Language.GLSL.Runtime.Eval
3 (Function)
Language.GLSL.Optimizer
makeFunction
Language.GLSL.Optimizer.FunctionGenerator
Mat4x4Value
Language.GLSL.Runtime.Value
MatIndexExpr
Language.GLSL.AST
maxLookahead
Language.GLSL.Optimizer.Deinline
maxRepeats
Language.GLSL.Optimizer.Deinline
minRepeats
Language.GLSL.Optimizer.Deinline
mod
Language.GLSL.Runtime.Math
Name
1 (Type/Class)
Language.GLSL.AST
2 (Data Constructor)
Language.GLSL.AST
NameExpr
1 (Type/Class)
Language.GLSL.AST
2 (Data Constructor)
Language.GLSL.AST
NameId
1 (Type/Class)
Language.GLSL.AST
2 (Data Constructor)
Language.GLSL.AST
Namespace
Language.GLSL.AST
nextNodeId
Language.GLSL.Optimizer.DFG
NoCast
Language.GLSL.AST
nodeFor
Language.GLSL.Optimizer.DFG
nodeForName
Language.GLSL.Optimizer.DFG
nodeForNameExpr
Language.GLSL.Optimizer.DFG
nodeForUniform
Language.GLSL.Optimizer.DFG
NsIn
Language.GLSL.AST
NsOut
Language.GLSL.AST
NsS
Language.GLSL.AST
NsT
Language.GLSL.AST
NsU
Language.GLSL.AST
NsVF
Language.GLSL.AST
O
Language.GLSL.Internal.Bits
one
Language.GLSL.Internal.Bits
optimize
Language.GLSL.Optimizer
optimizeShader
Language.GLSL.Optimizer
Param
Language.GLSL.AST
ParamDecl
Language.GLSL.AST
ParamKind
Language.GLSL.AST
parse
1 (Function)
Language.GLSL.BitCode
2 (Function)
Language.GLSL.Optimizer
parseAnnot
Language.GLSL.AST
parseBinaryOp
Language.GLSL.Parser
parseEmit
Language.GLSL.Parser
parseExpr
Language.GLSL.Parser
parseExprAtom
Language.GLSL.Parser
parseFunName
Language.GLSL.Parser
parseGDeclKind
Language.GLSL.Parser
parseGlobalDecl
Language.GLSL.Parser
parseGLSL
Language.GLSL.Parser
parseLayoutSpec
Language.GLSL.Parser
parseLocalDecl
Language.GLSL.Parser
parseName
Language.GLSL.Parser
parseNameExpr
Language.GLSL.Parser
parseNameId
Language.GLSL.Parser
parseNamespace
Language.GLSL.Parser
parseParamDecl
Language.GLSL.Parser
parseParamKind
Language.GLSL.Parser
parseProcName
Language.GLSL.Parser
parseShader
Language.GLSL.Parser
parseStmt
Language.GLSL.Parser
parseStmtAnnot
Language.GLSL.Parser
parseSwizzle
Language.GLSL.Parser
parseTest
Language.GLSL.Parser
parseTopDecl
Language.GLSL.Parser
parseType
Language.GLSL.Parser
parseUnaryOp
Language.GLSL.Parser
parseVecIndex
Language.GLSL.Parser
parseVersion
Language.GLSL.Parser
pass
Language.GLSL.Optimizer.Deinline
PkIn
Language.GLSL.AST
PkInout
Language.GLSL.AST
PkOut
Language.GLSL.AST
pp
Language.GLSL.PrettyPrint
ppAnnot
Language.GLSL.AST
ppBinaryOp
Language.GLSL.PrettyPrint
ppEmit
Language.GLSL.PrettyPrint
ppExpr
Language.GLSL.PrettyPrint
ppExprAtom
Language.GLSL.PrettyPrint
ppFloat
Language.GLSL.PrettyPrint
ppFunName
Language.GLSL.PrettyPrint
ppGDeclKind
Language.GLSL.PrettyPrint
ppGlobalDecl
Language.GLSL.PrettyPrint
ppGLSL
Language.GLSL.PrettyPrint
ppInt
Language.GLSL.PrettyPrint
ppL
Language.GLSL.PrettyPrint
ppl
Language.GLSL.PrettyPrint
ppLayoutSpec
Language.GLSL.PrettyPrint
ppLocalDecl
Language.GLSL.PrettyPrint
ppName
Language.GLSL.PrettyPrint
ppNameExpr
Language.GLSL.PrettyPrint
ppNameId
Language.GLSL.PrettyPrint
ppNamespace
Language.GLSL.PrettyPrint
ppParamDecl
Language.GLSL.PrettyPrint
ppParamKind
Language.GLSL.PrettyPrint
ppProcName
Language.GLSL.PrettyPrint
ppS
Language.GLSL.PrettyPrint
pps
Language.GLSL.PrettyPrint
ppStmt
Language.GLSL.PrettyPrint
ppStmtAnnot
Language.GLSL.PrettyPrint
ppSwizzle
Language.GLSL.PrettyPrint
ppTopDecl
Language.GLSL.PrettyPrint
ppType
Language.GLSL.PrettyPrint
ppUnaryOp
Language.GLSL.PrettyPrint
ppVecIndex
Language.GLSL.PrettyPrint
ppVersion
Language.GLSL.PrettyPrint
PrimAbs
Language.GLSL.AST
PrimAsin
Language.GLSL.AST
PrimAtan
Language.GLSL.AST
PrimCos
Language.GLSL.AST
PrimCross
Language.GLSL.AST
PrimDot
Language.GLSL.AST
PrimFloor
Language.GLSL.AST
PrimFract
Language.GLSL.AST
PrimLength
Language.GLSL.AST
PrimMat3x3
Language.GLSL.AST
PrimMat4x4
Language.GLSL.AST
PrimMod
Language.GLSL.AST
PrimNormalize
Language.GLSL.AST
PrimPow
Language.GLSL.AST
PrimSin
Language.GLSL.AST
PrimSmoothstep
Language.GLSL.AST
PrimSqrt
Language.GLSL.AST
PrimStep
Language.GLSL.AST
PrimTan
Language.GLSL.AST
PrimVec2
Language.GLSL.AST
PrimVec3
Language.GLSL.AST
PrimVec4
Language.GLSL.AST
printShader
Language.GLSL.PrettyPrint
Proc
1 (Type/Class)
Language.GLSL.Runtime.Value
2 (Data Constructor)
Language.GLSL.Runtime.Value
ProcDecl
Language.GLSL.AST
ProcMain
Language.GLSL.AST
ProcName
1 (Type/Class)
Language.GLSL.AST
2 (Data Constructor)
Language.GLSL.AST
roundValue
Language.GLSL.Runtime.Value
SA
Language.GLSL.AST
saturate
Language.GLSL.Runtime.Math
setValue
Language.GLSL.Runtime.Eval
showUniformId
Language.GLSL.Decls
smoothstep
Language.GLSL.Runtime.Math
startState
Language.GLSL.Runtime.Eval
step
Language.GLSL.Runtime.Math
stMainProc
Language.GLSL.Runtime.Value
Stmt
Language.GLSL.AST
StmtAnnot
Language.GLSL.AST
stProcs
Language.GLSL.Runtime.Value
Swizzle
Language.GLSL.AST
SwizzleExpr
Language.GLSL.AST
t
Language.GLSL.Parser
temps
Language.GLSL.Runtime.Eval
TextureExpr
Language.GLSL.AST
toDot
Language.GLSL.Optimizer.DFG
toInt
Language.GLSL.BitCode
TopDecl
Language.GLSL.AST
toSvg
Language.GLSL.Optimizer.DFG
toUniformId
Language.GLSL.Decls
trace
Language.GLSL.Runtime.Eval
traceAssignments
Language.GLSL.Runtime.Eval
transpose
Language.GLSL.Optimizer.Deinline
TyBool
Language.GLSL.AST
TyFloat
Language.GLSL.AST
TyMat
Language.GLSL.AST
Type
Language.GLSL.AST
TySampler2D
Language.GLSL.AST
TyStruct
Language.GLSL.AST
TyVec
Language.GLSL.AST
unAnnot
Language.GLSL.AST
UnaryExpr
Language.GLSL.AST
UnaryOp
Language.GLSL.AST
unflat
Language.GLSL.Internal.Bits
UniformExpr
Language.GLSL.AST
union
Language.GLSL.Optimizer.Liveness
unLiveness
Language.GLSL.Optimizer.Liveness
UOpMinus
Language.GLSL.AST
UOpNot
Language.GLSL.AST
v4
Language.GLSL.Runtime.PrimFuns
Value
Language.GLSL.Runtime.Value
Vec2Value
Language.GLSL.Runtime.Value
Vec3Value
Language.GLSL.Runtime.Value
Vec4Value
Language.GLSL.Runtime.Value
VecIndexExpr
Language.GLSL.AST
Version
1 (Type/Class)
Language.GLSL.AST
2 (Data Constructor)
Language.GLSL.AST
W
Language.GLSL.AST
windowSize
Language.GLSL.Optimizer.Deinline
X
Language.GLSL.AST
Y
Language.GLSL.AST
Z
Language.GLSL.AST
zero
Language.GLSL.Internal.Bits