Commit 5807ec7
fix: Use R16_UNORM as internal render format if output is PF_L16
This fixes a major performance regression, if a camera uses int16 as
output format. The improvement comes from skipping an expensive
texture conversion inside from SRGB to INT16 by rendering native to
the wanted output format.
Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>1 parent 5195394 commit 5807ec7
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
585 | 586 | | |
586 | 587 | | |
587 | 588 | | |
588 | | - | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
589 | 593 | | |
590 | 594 | | |
591 | 595 | | |
| |||
0 commit comments