Add shader validation tests on subgroup-size-control - Part II#4648
Open
Jiawei-Shao wants to merge 1 commit into
Open
Add shader validation tests on subgroup-size-control - Part II#4648Jiawei-Shao wants to merge 1 commit into
Jiawei-Shao wants to merge 1 commit into
Conversation
This patch adds the second part of the shader validation tests on the extension subgroup-size-control: - The value of @subgroup_size must be a constant expression or an override expression that resolves to an i32 or an u32. - The value of @subgroup_size must be a power of 2. - The x-dimension of the entry point's workgroup_size must be a multiple of the @subgroup_size value, or a pipeline creation error occurs Issue: gpuweb#4640
|
Results for build job (at 0018d19): +webgpu:shader,validation,extension,subgroup_size_control:subgroup_size_value_must_be_const_or_override_i32_u32:* - 18 cases, 18 subcases (~1/case)
+webgpu:shader,validation,extension,subgroup_size_control:subgroup_size_constant_value_must_be_power_of_2:* - 18 cases, 18 subcases (~1/case)
+webgpu:shader,validation,extension,subgroup_size_control:subgroup_size_override_must_be_power_of_2_at_pipeline_creation:* - 7 cases, 7 subcases (~1/case)
+webgpu:shader,validation,extension,subgroup_size_control:subgroup_size_override_valid_values_no_error:* - 1 cases, 1 subcases (~1/case)
+webgpu:shader,validation,extension,subgroup_size_control:workgroup_size_x_must_be_multiple_of_subgroup_size_at_pipeline_creation:* - 36 cases, 36 subcases (~1/case)
-TOTAL: 281256 cases, 2322907 subcases
+TOTAL: 281336 cases, 2322987 subcases |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch adds the second part of the shader validation tests on the extension subgroup-size-control:
Issue: #4640
Requirements for PR author:
.unimplemented()./** documented */and new helper files are found inhelper_index.txt.Requirements for reviewer sign-off:
When landing this PR, be sure to make any necessary issue status updates.