forked from gpuweb/cts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation tests on the access of the alpha channel of Src1 (gpu…
…web#3886) * Add validation tests on the access of the alpha channel of Src1 This patch adds validation tests on the use of `src1-alpha` in the blend factor. When the blend factor uses the alpha channel of src1, the fragment output must be vec4. This patch also implements function `IsDualSourceBlendingFactor()` to check if a blend factor needs the extension "dual-source-blending". This patch also adds the support of dual source blending in the helper function `getFragmentShaderCodeWithOutput()` to simplify the shaders used in dual source blending tests. * Fix `IsDualSourceBlendingFactor()` * Allow `IsDualSourceBlendingFactor()` accepts null value as parameter * More fixes
- Loading branch information
1 parent
8ab018e
commit 9cf0129
Showing
4 changed files
with
82 additions
and
79 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