What is shader cache

broken image
broken image

Platformergame_shader_compilation_stutter.png I've got a little more detailed files and can post the diff, but Bugzilla doesn't seem to support multi-upload. Total Link Time: 13.585 ms across 15 calls Total Compile Time: 32.5662 ms across 24 calls Total Link Time: 45.2148 ms across 86 calls Total Compile Time: 60.6543 ms across 172 calls

broken image

Total Link Time: 53.7249 ms across 332 callsĬompile time: 63.9002 ms across 229 callsĬompile time: 297.2739 ms across 707 calls Total Compile Time: 226.3913 ms across 660 calls Total Link Time: 1274.736 ms across 333 calls Total Compile Time: 240.5811 ms across 662 calls Total Link Time: 2.4799 ms across 15 calls Total Compile Time: 33.4767 ms across 24 calls Total Link Time: 141.6146 ms across 15 calls Total Compile Time: 32.806 ms across 24 calls Total Link Time: 1697.2105 ms across 354 calls Total Compile Time: 288.2592 ms across 705 calls Total Link Time: 519.3323 ms across 114 calls Total Compile Time: 62.8214 ms across 229 calls Ran on Ubuntu 14.04 圆4 and Mac OSX 10.9 圆4 on a MBP 11,3 Link Time is the time WebGLContext::LinkProgram() took, full function.Ĭompile Time is the time ShCompile() call in WebGLContext::CompileShader() took. Unity Angry Robots Demo, and the two Dead Trigger Demos: Ĭonveniently nVIDIA on Linux does have a shader cache, so I also ran the demos a second time to see what the speed up might be.