Skip to content

Conversation

@petermcneeleychromium
Copy link
Collaborator

I tested this with an amber script generated from dawn

You need to add these to your script to enabled
DEVICE_EXTENSION VK_KHR_zero_initialize_workgroup_memory
DEVICE_FEATURE ZeroInitializeWorkgroupMemoryFeatures.shaderZeroInitializeWorkgroupMemory

Copy link
Collaborator

@dj2 dj2 left a comment

Choose a reason for hiding this comment

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

LGTM. Is it possible to add an amberscript example?

"VulkanMemoryModelFeatures.vulkanMemoryModelDeviceScope";

const char kZeroInitializeWorkgroupMemory[] =
"ZeroInitializeWorkgroupMemoryFeatures."
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did this split due to line wrapping?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ooops didnt see this before the merge. I will address this issue.

features_.zero_initialize_workgroup_memory_features,
// NOLINTNEXTLINE(whitespace/line_length)
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES_KHR,
// NOLINTNEXTLINE(whitespace/line_length)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This one shouldn't be needed? Like, line 1317 is longer ...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Minor but I will also address

@petermcneeleychromium petermcneeleychromium merged commit 6102fab into google:main Jan 19, 2026
14 checks passed
@petermcneeleychromium
Copy link
Collaborator Author

I will address the minor issues and add the amberscript example test case

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