forked from GPUOpen-Drivers/llpc
-
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.
Refine the code of removing undef output value (GPUOpen-Drivers#2684)
Currently, we remove undef output values unconditionally for non-fragment shaders. It causes mismatch for partial channels with undef value. The correct way is to conditionally remove if all channels' value are undefined. This PR will integrete the removal code piece into `clearUndefinedOutput()` and add the check logic in it.
- Loading branch information
1 parent
9c2184a
commit 3d7228a
Showing
3 changed files
with
125 additions
and
50 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