RetroArch
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
glslang::TIntermConstantUnion Class Reference

#include <intermediate.h>

Inheritance diagram for glslang::TIntermConstantUnion:
[legend]
Collaboration diagram for glslang::TIntermConstantUnion:
[legend]

Public Member Functions

 TIntermConstantUnion (const TConstUnionArray &ua, const TType &t)
 
const TConstUnionArraygetConstArray () const
 
virtual TIntermConstantUniongetAsConstantUnion ()
 
virtual const TIntermConstantUniongetAsConstantUnion () const
 
virtual void traverse (TIntermTraverser *)
 
virtual TIntermTypedfold (TOperator, const TIntermTyped *) const
 
virtual TIntermTypedfold (TOperator, const TType &) const
 
void setLiteral ()
 
void setExpression ()
 
bool isLiteral () const
 
- Public Member Functions inherited from glslang::TIntermTyped
 TIntermTyped (const TType &t)
 
 TIntermTyped (TBasicType basicType)
 
virtual TIntermTypedgetAsTyped ()
 
virtual const TIntermTypedgetAsTyped () const
 
virtual void setType (const TType &t)
 
virtual const TTypegetType () const
 
virtual TTypegetWritableType ()
 
virtual TBasicType getBasicType () const
 
virtual TQualifiergetQualifier ()
 
virtual const TQualifiergetQualifier () const
 
virtual void propagatePrecision (TPrecisionQualifier)
 
virtual int getVectorSize () const
 
virtual int getMatrixCols () const
 
virtual int getMatrixRows () const
 
virtual bool isMatrix () const
 
virtual bool isArray () const
 
virtual bool isVector () const
 
virtual bool isScalar () const
 
virtual bool isStruct () const
 
virtual bool isFloatingDomain () const
 
virtual bool isIntegerDomain () const
 
TString getCompleteString () const
 
- Public Member Functions inherited from TIntermNode
 TIntermNode ()
 
virtual const glslang::TSourceLocgetLoc () const
 
virtual void setLoc (const glslang::TSourceLoc &l)
 
virtual glslang::TIntermOperatorgetAsOperator ()
 
virtual glslang::TIntermAggregategetAsAggregate ()
 
virtual glslang::TIntermUnarygetAsUnaryNode ()
 
virtual glslang::TIntermBinarygetAsBinaryNode ()
 
virtual glslang::TIntermSelectiongetAsSelectionNode ()
 
virtual glslang::TIntermSwitchgetAsSwitchNode ()
 
virtual glslang::TIntermMethodgetAsMethodNode ()
 
virtual glslang::TIntermSymbolgetAsSymbolNode ()
 
virtual glslang::TIntermBranchgetAsBranchNode ()
 
virtual glslang::TIntermLoopgetAsLoopNode ()
 
virtual const glslang::TIntermOperatorgetAsOperator () const
 
virtual const glslang::TIntermAggregategetAsAggregate () const
 
virtual const glslang::TIntermUnarygetAsUnaryNode () const
 
virtual const glslang::TIntermBinarygetAsBinaryNode () const
 
virtual const glslang::TIntermSelectiongetAsSelectionNode () const
 
virtual const glslang::TIntermSwitchgetAsSwitchNode () const
 
virtual const glslang::TIntermMethodgetAsMethodNode () const
 
virtual const glslang::TIntermSymbolgetAsSymbolNode () const
 
virtual const glslang::TIntermBranchgetAsBranchNode () const
 
virtual const glslang::TIntermLoopgetAsLoopNode () const
 
virtual ~TIntermNode ()
 

Protected Member Functions

TIntermConstantUnionoperator= (const TIntermConstantUnion &)
 
- Protected Member Functions inherited from glslang::TIntermTyped
TIntermTypedoperator= (const TIntermTyped &)
 
- Protected Member Functions inherited from TIntermNode
 TIntermNode (const TIntermNode &)
 
TIntermNodeoperator= (const TIntermNode &)
 

Protected Attributes

const TConstUnionArray constArray
 
bool literal
 
- Protected Attributes inherited from glslang::TIntermTyped
TType type
 
- Protected Attributes inherited from TIntermNode
glslang::TSourceLoc loc
 

Constructor & Destructor Documentation

◆ TIntermConstantUnion()

glslang::TIntermConstantUnion::TIntermConstantUnion ( const TConstUnionArray ua,
const TType t 
)
inline
Here is the caller graph for this function:

Member Function Documentation

◆ fold() [1/2]

TIntermTyped * glslang::TIntermConstantUnion::fold ( TOperator  op,
const TIntermTyped rightConstantNode 
) const
virtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fold() [2/2]

TIntermTyped * glslang::TIntermConstantUnion::fold ( TOperator  op,
const TType returnType 
) const
virtual
Here is the call graph for this function:

◆ getAsConstantUnion() [1/2]

virtual TIntermConstantUnion* glslang::TIntermConstantUnion::getAsConstantUnion ( )
inlinevirtual

Reimplemented from TIntermNode.

Here is the caller graph for this function:

◆ getAsConstantUnion() [2/2]

virtual const TIntermConstantUnion* glslang::TIntermConstantUnion::getAsConstantUnion ( ) const
inlinevirtual

Reimplemented from TIntermNode.

◆ getConstArray()

const TConstUnionArray& glslang::TIntermConstantUnion::getConstArray ( ) const
inline
Here is the caller graph for this function:

◆ isLiteral()

bool glslang::TIntermConstantUnion::isLiteral ( ) const
inline
Here is the caller graph for this function:

◆ operator=()

TIntermConstantUnion& glslang::TIntermConstantUnion::operator= ( const TIntermConstantUnion )
protected

◆ setExpression()

void glslang::TIntermConstantUnion::setExpression ( )
inline

◆ setLiteral()

void glslang::TIntermConstantUnion::setLiteral ( )
inline
Here is the caller graph for this function:

◆ traverse()

void glslang::TIntermConstantUnion::traverse ( TIntermTraverser it)
virtual

Implements TIntermNode.

Here is the call graph for this function:

Member Data Documentation

◆ constArray

const TConstUnionArray glslang::TIntermConstantUnion::constArray
protected

◆ literal

bool glslang::TIntermConstantUnion::literal
protected

The documentation for this class was generated from the following files: