Commit 9d88d24
csmartdalton
Move feather join tessellation to the draw shader
We need to flatten feathered curves in the tessellation shader, but this means the tangents won't be known until after the tessellation shader finishes. In order to work with this constraint, don't work out feather join stepping until the vertex portion of the draw shader. At this point, tessellation has finished flattening all the curves and the tangents are all known.
In the future, we should update all joins to work out their stepping in the draw stage. This would alleviate the need for the CPU to figure out and send join angles to the GPU.
Diffs=
07ffc16467 Move feather join tessellation to the draw shader (#9107)1 parent df88fdf commit 9d88d24
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments