Posted May 26, 2011 14:29 UTC (Thu) by bjacob (subscriber, #58566)
[Link]
`nm nvidia.ko` doesn't show anything about 'compile' or 'shader', but there are definitely lots of cryptic symbol names like _nv025298rm, no idea what they do.
WebGL vulnerabilities
Posted May 26, 2011 16:53 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
[Link]
Up to DX10 Windows graphics drivers worked totally in the kernel mode, without any usermode helpers (you can check it). So NVidia did have kernelmode compiler.
I guess that they just ported Windows code to Linux without rearchitecting it. They might have moved parts of the compiler to usermode, but there's still a huge amount of code in the kernel.
WebGL vulnerabilities
Posted Jun 10, 2011 1:36 UTC (Fri) by johntb86 (subscriber, #53897)
[Link]
D3D Shader bytecode->gpu code compilation happens in kernel mode (session space) for XP and below. For Vista and above all shader compilation, even for D3D9, happens in usermode inside the process that created the shader. OpenGL shader compilation happens in usermode on every platform.