mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-03 22:28:38 +00:00
renderer: add custom shader cursor uniforms
Based on / supersedes PR #6912, implements discussion #6901 Co-authored-by: Krone Corylus <ahustinkrone@gmail.com>
This commit is contained in:
@@ -33,6 +33,8 @@ pub const cellpkg = @import("metal/cell.zig");
|
||||
pub const imagepkg = @import("metal/image.zig");
|
||||
|
||||
pub const custom_shader_target: shadertoy.Target = .msl;
|
||||
// The fragCoord for Metal shaders is +Y = down.
|
||||
pub const custom_shader_y_is_down = true;
|
||||
|
||||
/// Triple buffering.
|
||||
pub const swap_chain_count = 3;
|
||||
|
||||
Reference in New Issue
Block a user