KhronosGroup / KhronosGroup/Vulkan-Docs

Does VK_EXT_inline_uniform_block interact with VK_EXT_scalar_block_layout?

Open
#910 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3.3k
Forks
549
Avg merge
5d 5h
Merged PRs (30d)
2

Description

From VK_EXT_inline_uniform_block.txt:

1) Do we need a new storage class for inline uniform blocks vs uniform
blocks?

*RESOLVED*: No.
Uniform storage class is used to allow the same syntax used for
both uniform buffers and inline uniform blocks.
3) What layout rules apply for uniform blocks corresponding to inline
constants?

*RESOLVED*: They use the same layout rules as uniform buffers.

And from VK_EXT_scalar_block_layout.txt:

This extension modifies the alignment rules for uniform buffers, storage
buffers and push constants, allowing non-scalar types to be aligned solely
based on the size of their components, without additional requirements.

So do inline uniforms blocks interact with VK_EXT_scalar_block_layout and allow C-like structure layout or not?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read VK_EXT_inline_uniform_block.txt and VK_EXT_scalar_block_layout.txt, focusing on their uniform-block layout rules and extension interactions. Determine whether the specifications need clarification, and update the relevant Vulkan documentation once the interaction is resolved.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.