KhronosGroup / KhronosGroup/Vulkan-Portability

Clamp-to-border support on Metal

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Metal
Dominant language
No language data
Stars
45
Forks
7
PR merge metrics
No merged PRs in 30d

Description

@kvark commented:

See https://developer.apple.com/documentation/metal/mtlsamplerbordercolor?language=objc
there are 2 limitations:
1. the mode is only available on macOS 10.12+
2. it only supports 3 predefined colors

@cdavis5e commented:

> 2. it only supports 3 predefined colors

The same colors that base Vulkan itself supports, and the same ones supported by D3D12 for static samplers. Unlike Vulkan, Metal makes no distinction between floating-point border colors and integer border colors.

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository files, tests, or entry points are named. Start with the linked Apple Metal documentation and determine the project's intended clamp-to-border support, including the macOS 10.12 limitation and three predefined colors; done requires an agreed implementation scope and validation criteria.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.