Commit 8094ad1
HLSL-IR: Use stable_sort to sort members in ShaderIO
Because we may add two members with the same kClipDistances attribute, we need to make sure the relative ordering of the two members remains the same.
Bug: 364865292
Change-Id: Iea56c3236e7e29ec9ef3de464b08dff22941cf08
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/212355
Auto-Submit: Antonio Maiorano <[email protected]>
Reviewed-by: dan sinclair <[email protected]>
Commit-Queue: dan sinclair <[email protected]>1 parent 997865f commit 8094ad1
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
218 | 220 | | |
219 | 221 | | |
220 | 222 | | |
| |||
0 commit comments