mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Hacks to make RGB1 visible (in a fashion).
This commit is contained in:
parent
93c6105442
commit
a118594c8b
@ -93,5 +93,5 @@ fragment half4 scanFragmentMain(ColouredVertex vert [[stage_in]], texture2d<floa
|
|||||||
address::clamp_to_zero, // This really makes no difference here; anything Metal will accept will do.
|
address::clamp_to_zero, // This really makes no difference here; anything Metal will accept will do.
|
||||||
filter::nearest);
|
filter::nearest);
|
||||||
|
|
||||||
return half4(texture.sample(s, vert.textureCoordinates));
|
return half4(texture.sample(s, vert.textureCoordinates) * 32.0f); // Multiply by 32 is _TEMPORARY TEST CODE_ [/ nonsense].
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user