9dfe81770a
* Change AggregateType to include vector type counts * Replace VariableType uses with AggregateType and delete VariableType * Support new local vector types on SPIR-V and GLSL * Start using vector outputs for texture operations * Use vectors on more texture operations * Use vector output for ImageLoad operations * Replace all uses of single destination texture constructors with multi destination ones * Update textureGatherOffsets replacement to split vector operations * Shader cache version bump Co-authored-by: Ac_K <Acoustik666@gmail.com>
26 lines
497 B
C#
26 lines
497 B
C#
namespace Ryujinx.Graphics.Shader.Translation
|
|
{
|
|
enum AggregateType
|
|
{
|
|
Invalid,
|
|
Void,
|
|
Bool,
|
|
FP32,
|
|
FP64,
|
|
S32,
|
|
U32,
|
|
|
|
ElementTypeMask = 0xff,
|
|
|
|
ElementCountShift = 8,
|
|
ElementCountMask = 3 << ElementCountShift,
|
|
|
|
Scalar = 0 << ElementCountShift,
|
|
Vector2 = 1 << ElementCountShift,
|
|
Vector3 = 2 << ElementCountShift,
|
|
Vector4 = 3 << ElementCountShift,
|
|
|
|
Array = 1 << 10
|
|
}
|
|
}
|