ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.25k stars 175 forks source link

Compile Vulkan shaders on the GPU #10230

Closed EntityinArray closed 11 months ago

EntityinArray commented 11 months ago

Your system information

Please describe your issue in as much detail as possible:

Currently Steam uses CPU for compiling Vulkan shaders

Steps for reproducing this issue:

  1. Start any game
  2. Vulkan shaders begin to compile on the CPU
  3. You computer turns into a nuclear turbine, glaciers melt, ozone layer gets destroyed, next mass-extinction gets triggered
kisak-valve commented 11 months ago

Hello @EntityinArray, the actual shader compilation step is handled by your video driver, not Steam itself. This would be an implementation detail of the video driver and not Steam.

That written, if this was implemented, it's highly likely that it would be massively slower than how things are currently handled due to the nature of GPUs.

mtricolici commented 10 months ago

shaders-on-cpu

so it's not possible to compile these shaders on GPU ?:(