-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable WGSL tests that works for Metal related to Semantics (#5816)
* Enable WGSP tests that works for Metal related to Semantics This commit enables existing tests for WGSL that are enabled for Metal regarding the Semantics.
- Loading branch information
1 parent
4a63e33
commit f0b9914
Showing
7 changed files
with
103 additions
and
66 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
//TEST:SIMPLE(filecheck=METAL): -target metallib -stage vertex -entry vertexMain | ||
//TEST:SIMPLE(filecheck=METALLIB): -target metallib -stage vertex -entry vertexMain | ||
//TEST:SIMPLE(filecheck=WGSL): -target wgsl -stage vertex -entry vertexMain | ||
//TEST:SIMPLE(filecheck=WGSLSPIRV): -target wgsl-spirv-asm -stage vertex -entry vertexMain | ||
|
||
//METAL-DAG: position | ||
//METALLIB: @vertexMain | ||
|
||
//WGSL-DAG: @builtin(position) | ||
//WGSL-DAG: @vertex | ||
//WGSL: @builtin(position) | ||
//WGSLSPIRV: %vertexMain = OpFunction | ||
|
||
// Vertex Shader | ||
|
||
float4 vertexMain() | ||
{ | ||
return float4(1,1,1,1); | ||
return float4(1,1,1,1); | ||
} |
This file contains 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
This file contains 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
This file contains 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