Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Fix In Review for 2019.4.X, 2020.3.X

Votes

0

Found in

2019.4

2022.1

Issue ID

1375627

Regression

No

Go wide on shader compression

Shader System

-

Shader compression is currently single-threaded and frequently takes >1 minute (HDRP scenario). For large shaders it can actuallly take longer to compress the results than it takes to compile the shader variants.Seems like there could potentially be some easy player build wins from going wide on this compression task.

Tested in 2021.2b16 + HDRP 2021.2/staging.

Some timings from a recent player build

Compressed shader 'HDRP/Lit' on d3d11 in 75.56s from 447.65MB to 116.39MB
Compressed shader 'Hair/KajiyaKay' on d3d11 in 435.21s from 8849.37MB to 2486.63MB

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a16

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.