Repository navigation
More auto-generated execution tests, found by mutation testing Mesa - #4742
Open
ambergorzynski wants to merge 1 commit into
Open
ambergorzynski wants to merge 1 commit into
ambergorzynski wants to merge 1 commit into
Conversation
Adds 14 compute shaders to webgpu:shader,execution,mutation,mesa,*: 12 that read no input and 2 that read a uniform input buffer. Each was generated by WGSLsmith, reduced automatically, and found to detect a change injected into the Mesa NIR compiler that no existing CTS test detected.
|
Results for build job (at 9cbf6d3): -webgpu:shader,execution,mutation,mesa,no_input:no_input:* - 2 cases, 2 subcases (~1/case)
-webgpu:shader,execution,mutation,mesa,uniform_input:uniform_input:* - 3 cases, 3 subcases (~1/case)
+webgpu:shader,execution,mutation,mesa,no_input:no_input:* - 14 cases, 14 subcases (~1/case)
+webgpu:shader,execution,mutation,mesa,uniform_input:uniform_input:* - 5 cases, 5 subcases (~1/case)
-TOTAL: 290287 cases, 2383042 subcases
+TOTAL: 290301 cases, 2383056 subcases |
Contributor
Author
|
@alan-baker - a follow-up to #4720 with a batch of 14 more tests in the same format. A review would be great when you have time, thanks! |
This branch has not been deployed
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.
Follow-up to #4720, with a batch of 14 more execution tests found by mutation testing Mesa, in the same format and location (
webgpu:shader,execution,mutation,mesa,*). I've chosen tests that target mutations in different lines of code and that are fairly distinct from one another imo.As a reminder - each test is a compute shader generated by WGSLsmith and reduced automatically. Each one produces different output when a specific change is injected into Mesa's NIR compiler, and no existing CTS test detected that change.
Two tests are a bit on the long side; I'm happy to change or drop them if you think they are too long:
shader_7fd1ec1ahas 35 lines, mostly the fuzzer's helper functionsshader_25efc668has one 234-character line. If that's too long, I can try splitting the expression into more lines for better readability+@afd