This repository was archived by the owner on Sep 15, 2025. It is now read-only.
Commit 72cce05
committed
Revert "Do not generate dummy exports for PS on GFX10"
There is a subtle interaction with fragment shaders which write to
color buffers with no attachment. LLPC removes these outputs,
but it appears some shaders are expecting an output to happen
and relying on the results of a discard through this.
This was not picked up by Vulkan CTS testing, persumably as the
pipelines it uses are well-defined, but this behaviour does
occur in game titles.
The old dummy export behaviour was masking this problem by always
exporting when discards occur. Revert to this behaviour while
we investigate further.
This reverts commit 533147b.1 parent 10cea37 commit 72cce05
5 files changed
Lines changed: 18 additions & 11 deletions
File tree
- lgc
- elfLinker
- include/lgc/state
- patch
- state
- llpc/test/shaderdb/relocatable_shaders
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
361 | 362 | | |
362 | 363 | | |
363 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
364 | 370 | | |
365 | 371 | | |
366 | 372 | | |
| |||
372 | 378 | | |
373 | 379 | | |
374 | 380 | | |
| 381 | + | |
375 | 382 | | |
376 | 383 | | |
377 | 384 | | |
| |||
384 | 391 | | |
385 | 392 | | |
386 | 393 | | |
| 394 | + | |
387 | 395 | | |
388 | 396 | | |
389 | 397 | | |
| |||
410 | 418 | | |
411 | 419 | | |
412 | 420 | | |
413 | | - | |
| 421 | + | |
414 | 422 | | |
415 | 423 | | |
416 | 424 | | |
| |||
453 | 461 | | |
454 | 462 | | |
455 | 463 | | |
456 | | - | |
| 464 | + | |
457 | 465 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
| 491 | + | |
| 492 | + | |
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
495 | 496 | | |
496 | | - | |
| 497 | + | |
497 | 498 | | |
498 | 499 | | |
499 | 500 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
845 | | - | |
846 | | - | |
847 | | - | |
| 845 | + | |
848 | 846 | | |
849 | 847 | | |
850 | 848 | | |
| |||
854 | 852 | | |
855 | 853 | | |
856 | 854 | | |
857 | | - | |
| 855 | + | |
858 | 856 | | |
859 | 857 | | |
860 | 858 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments