Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce several bugfixes, new APIs #103

Merged
merged 2 commits into from
Aug 9, 2020
Merged

introduce several bugfixes, new APIs #103

merged 2 commits into from
Aug 9, 2020

Conversation

s1ddok
Copy link
Owner

@s1ddok s1ddok commented Aug 9, 2020

No description provided.

at: 1)

if self.deviceSupportsNonuniformThreadgroups {
encoder.dispatch2d(state: self.pipelineState,
exactly: gridSize)
} else {
encoder.set(SIMD2<UInt16>(x: .init(gridSize.width),
encoder.setValue(SIMD2<UInt16>(x: .init(gridSize.width),
y: .init(gridSize.height)),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alignment

@@ -91,7 +91,7 @@ public final class MTLContext {
if
isSRGB == nil,
let colorSpace = image.colorSpace,
colorSpace.name == CGColorSpace.sRGB
colorSpace.name == CGColorSpace.linearSRGB
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there going to be visible difference?

@s1ddok s1ddok merged commit 1fc46bd into style-fixes Aug 9, 2020
@s1ddok s1ddok deleted the style-fixes2 branch August 9, 2020 08:59
s1ddok added a commit that referenced this pull request Aug 26, 2020
* remove warnings

* style fixes

* update version

* introduce several bugfixes, new APIs (#103)

* introduce several bugfixes, new APIs

* fix alignment

* Squashed commit of the following:

    fix TextureWeightedMix (#104)

    Add Texture Mix (#100)

    * add texture mix

    * naming

    * update version

* update encoder

* replace mask reading with mask sampling

* fix shared memory size

* fix typo in float conversion

* Texture Mask Inversion (#106)

* add inversion to TextureMask

* remove redundant annotation

* RGBA to YCbCr (#105)

* rgba to ycbcr

* update rgba to ycbcr

* migrate to gather

* fixes

* use to matrix multiplication

* use matrix transpose

* simplify mean calculation

Co-authored-by: Andrey Volodin <siddok@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants