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

Consolidation and fixes for MVK_USE_METAL_PRIVATE_API functionality. #2155

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

billhollings
Copy link
Contributor

@billhollings billhollings commented Feb 8, 2024

  • Expose MTLRenderPipelineDescriptor.sampleMaskMVK and MTLSamplerDescriptor.lodBiasMVK properties when MVK_USE_METAL_PRIVATE_API build setting is disabled.
  • MVKCmdSetDepthBias & MVKCmdSetDepthBounds subclass from MVKSingleValueCommand.
  • MVKRenderingCommandEncoderState simplify calls to set depth bias and depth bounds, and make consistent with other settings.
  • Refactor MVKRenderingCommandEncoderState::setContent() and setMTLContent() to remove need for intermediate value copies.
  • MVKPipeline remove test for depth bounds support since it's checked before GPU encoding.
  • MVKDepthBias member order same as in Vulkan calls.
  • Whats_New.md consolidate notes about MVK_USE_METAL_PRIVATE_API.

@billhollings billhollings requested a review from cdavis5e February 8, 2024 21:16
- Expose MTLRenderPipelineDescriptor.sampleMaskMVK and
  MTLSamplerDescriptor.lodBiasMVK properties when
  MVK_USE_METAL_PRIVATE_API build setting is disabled.
- MVKCmdSetDepthBias & MVKCmdSetDepthBounds subclass from MVKSingleValueCommand.
- MVKRenderingCommandEncoderState simplify calls to set depth bias
  and depth bounds, and make consistent with other settings.
- Refactor MVKRenderingCommandEncoderState::setContent() and
  setMTLContent() to remove need for intermediate value copies.
- MVKPipeline remove test for depth bounds support since
  it's checked before GPU encoding.
- MVKDepthBias member order same as in Vulkan calls.
- Whats_New.md consolidate notes about MVK_USE_METAL_PRIVATE_API.
@billhollings billhollings merged commit 4a04f88 into KhronosGroup:main Feb 12, 2024
6 checks passed
@billhollings billhollings deleted the private-api-fixes branch February 12, 2024 21:08
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