Re:A Taste of WebGPU in Firefox
by MaxBarraclough on Thursday April 23, 2020 @02:15PM
(#22959061)
I'm not following your final point. What does it matter if Vulkan gives you more runtime checks than you were expecting?
[ Parent
| on HN ]
The loader is a backdoor to load arbitrary code as long as it is disguised as a Vulkan layer (a specialized shared library). It is intended for debugging, but a layer can hook the API to do anything it wants.
Re:A Taste of WebGPU in Firefox
by banachtarski on Thursday April 23, 2020 @04:08PM
(#22960608)
Give me one example of a graphics API today on desktop where this isn't possible. Unless you're a console graphics engineer, you're shit out of luck if you really think you can stop client-side injection. Short of a kernel-mode injection like the crap Valorant is pulling, layer hooks and trampolines are literally how those APIs ship (D3D, OpenGL, Vulkan, etc).