Skip to content

Remove redundant len="1" attribute - #2785

Merged
oddhack merged 1 commit into
KhronosGroup:mainfrom
holtowd:redundant_len
Aug 11, 2026
Merged

Remove redundant len="1" attribute#2785
oddhack merged 1 commit into
KhronosGroup:mainfrom
holtowd:redundant_len

Conversation

@holtowd

@holtowd holtowd commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI::pMaxWorkgroupSize used len="1" attribute and was the only place where you could encounter such value. 1 is allowed value but itself is redundant and as mentioned in registery.adoc should be used for nested pointers like len="<outer_len>,1 for array of pointers to single values

I would ping HUAWEI. But I don't know how 😅

vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI::pMaxWorkgroupSize
used `len="1"` attribute and was the only place where you could
encounter such value. 1 is allowed value but itself is redundant and
as mentioned in `registery.adoc` should be used for nested pointers
like `len="<outer_len>,1` for array of pointers to single values
@oddhack

oddhack commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Agreed. This does not result in any changes to generated files aside from not pluralizing VUID-vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI-pMaxWorkgroupSize-parameter, and is consistent with the text describing the parameter, so accepting as editorial.

@oddhack oddhack added this to the Signed-off to Merge milestone Aug 11, 2026
@oddhack
oddhack merged commit 1eb035c into KhronosGroup:main Aug 11, 2026
15 checks passed
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