Jump to content

Improve performance of generating shader cache files


photo

Recommended Posts

Posted (edited)

Hi,

I observed that shader cache files shader_d3d11.cache and shader_d3d11_debug.cache are generated by 1 main thread CPU. It is time consuming operation and block other operation (for e.g. in my project it takes about half hour to compile it and it's block Editor2 for this time) - you should wait to finish generating it to use Editor2. 

I suggest you to use more threads and add possibility to do it in background or even move generating it to GPU. It would be really helpful :)

Best

Edited by Klimczak.Jan
Posted

Hi Jan,

We slightly improved shaders cache generation in 2.7.1 update, stay tuned :) You can use OpenGL for the fast iterations (5x faster shader compilation time compare to dx).

Thanks!

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi @silent, I will wait for it :) Of course I will try OpenGL too :) Thanks for suggestions :)

×
×
  • Create New...