Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion backends/gpu/metal/sources/commandlist.m
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,10 @@ void kore_metal_command_list_trace_rays(kore_gpu_command_list *list, uint32_t wi

void kore_metal_command_list_set_viewport(kore_gpu_command_list *list, float x, float y, float width, float height, float min_depth, float max_depth) {}

void kore_metal_command_list_set_scissor_rect(kore_gpu_command_list *list, uint32_t x, uint32_t y, uint32_t width, uint32_t height) {}
void kore_metal_command_list_set_scissor_rect(kore_gpu_command_list *list, uint32_t x, uint32_t y, uint32_t width, uint32_t height) {
id<MTLRenderCommandEncoder> render_command_encoder = (__bridge id<MTLRenderCommandEncoder>)list->metal.render_command_encoder;
[render_command_encoder setScissorRect:(MTLScissorRect){x, y, width, height}];
}

void kore_metal_command_list_set_blend_constant(kore_gpu_command_list *list, kore_gpu_color color) {}

Expand Down