[PATCH vkd3d 6/6] vkd3d-shader: Treat global variables as written to only if they are uniform.