Skip to content

mesa: speed up glTexImage(GL_DEPTH_STENCIL)

The 2 patches achieve the same thing: they massively reduce "CS: GO" startup time on my machine from 150s to 10s (maybe there's something wrong on my setup because the initial value is very high).

I noticed the slow startup while working on #7084 (closed) but assumed that the shader compilations were slow. Then I run sysprof and it disagreed with my assumption:

image

(I'm nominating the first patch for backporting to stable branch since it seems low risk)

Merge request reports