

OpenGL backend is a peer to others Currently Direct3D-centric HLSL gets translated to GLSL Separate Shader Objects etc Would like to drop the Direct3D backends and go OpenGL-exclusiveĪMD NVIDIA Intel – Two separate teams! Binary drivers on Windows Open Source drivers on Linux Appleĭan Shipping Shaders Validation Efficient shipping representation Graphics Debugging Vendor tools are improving, especially NSIGHT Capturing repro scenarios apitrace – Open source tool developed externally VOGL – New open source tools from Valve Rich & Peterġ6 Overview Shipping Shaders Translation Validationġ7 Overview Shipping Shaders Translation Validationġ8 HLSL -> GLSL Source 1: DX9ASM -> GLSL Works, but some downsides:ĭebugging hard Loss of information Not extensibleġ9 HLSL -> GLSL Source 2: Translate at the source level Reasoning:Įasier to debug Easier to use GLSL features D3D10/11 bytecode not as well documented as DX9Ģ0 Translation Options hlsl2glslfork Not DX10/11-compatible MojoShader We think this is a lower bound on XP in China Hardware is modern! Use OpenGL to access that hardware! Dota users in China January 2014ġ3 OpenGL Strategy Source 2 has multiple rendering backends No DirectX10 or DirectX11 games for these customers Data from the Yi You cyber cafe platformġ2 Dota Users in China Windows XP very popular The most recent example is Dota in China Windows XP is extremely prevalent in China

GPUs Systems OpenGL 4.x 67% OpenGL 3.3 96% OpenGL 2.1 100%ġ0 Emerging Markets Valve is expanding beyond its traditional borders GPUs Systems (Windows Vista, 7, 8) DirectX 11 67% 62% DirectX 10.x 96% 86% DirectX 9 100% Independent of what you do on other platforms, if you stay with DirectX 10 or DirectX 11 on Windows you lose some of those customers due to the dependency on Windows Vista/Win7/Win8. Over time, we want the chart on the right to look more like the chart on the left Some challenges: Apple currently on 4.1 Vendors have varying XP support Steam Hardware Survey, Dec 2013 OpenGL Direct3D Steam Hardware Survey, Dec 2013Ħ Steam OpenGL Drivers Hardware Capability Installed Drivers New debugging tools – Rich & Peter Not going to talk about Hot new APIs or hardware features Direct3D - OpenGL equivalencies That stuff is well trodden elsewhereĤ OpenGL is Everywhere SteamOS Desktop Linux, OS X & WindowsĬhina overwhelmingly XP but fairly modern hardware Mobile OpenGL ES is ubiquitous Even “Big OpenGL” arriving WebGL Presentation on theme: "Moving to OpenGL Jason Mitchell Dan Ginsburg Rich Geldreich"- Presentation transcript:ġ Moving to OpenGL Jason Mitchell Dan Ginsburg Rich GeldreichĢ Outline OpenGL Strategy - Jason Shipping shaders - Dan
