-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support packing on the pipeline that includes geometry shader. The mainly changes are to implement the packing: -{VS/TES} output -> GS input: use GS input to build the location info map to fill GS outputLocInfoMap and copy to the previsou stage inputLocInfoMap. This process is similar to VS-TCS. -Gs output ->Copy shader output: this is a new process due to transform feedback export. First, scalarize xfb outputs to build the `locInfoXfbOutInfoMap` in InOutBuilder to corresponding to the key of GS outputLocInfoMap which is built by scalarized generic output exports. Secondly, collect the byte sizes of the mapped location to load output value from LDS at the mapped location. Lastly, the obtained output value at the mapped location is the packed result, so we can create export generice call directly; For xfb export, we need an extract-insert process to re-build the original xfb output value with respect to the xfbOutInfo.
- Loading branch information
1 parent
97ab8bc
commit b1bc7a3
Showing
8 changed files
with
393 additions
and
236 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.