mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-12 00:30:31 +00:00
Switches some of the interpolated fields to half precision.
This commit is contained in:
parent
016e96e6f8
commit
dfcc8e9822
@ -98,9 +98,9 @@ struct Line {
|
||||
struct SourceInterpolator {
|
||||
float4 position [[position]];
|
||||
float2 textureCoordinates;
|
||||
float unitColourPhase; // i.e. one unit per circle.
|
||||
float colourPhase; // i.e. 2*pi units per circle, just regular radians.
|
||||
float colourAmplitude [[flat]];
|
||||
half unitColourPhase; // i.e. one unit per circle.
|
||||
half colourPhase; // i.e. 2*pi units per circle, just regular radians.
|
||||
half colourAmplitude [[flat]];
|
||||
};
|
||||
|
||||
struct CopyInterpolator {
|
||||
|
Loading…
x
Reference in New Issue
Block a user