mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-07 18:36:33 +00:00
renderer/metal: grid pos for bg/text should be ushort2
This saves 50% memory per vertex.
This commit is contained in:
@@ -50,6 +50,7 @@ pub const MTLIndexType = enum(c_ulong) {
|
||||
/// https://developer.apple.com/documentation/metal/mtlvertexformat?language=objc
|
||||
pub const MTLVertexFormat = enum(c_ulong) {
|
||||
uchar4 = 3,
|
||||
ushort2 = 13,
|
||||
float2 = 29,
|
||||
float4 = 31,
|
||||
int2 = 33,
|
||||
|
Reference in New Issue
Block a user