Operating system: Windows 7 x64
Graphics card: NVIDIA GeForce GTX 580
Broken: 2.82 a854840e76ae
Short description of error
Rendering with the Viewport Render operator doesn't render Overlays and Shading settings pertaining to Grease Pencil objects. Regardless of the Fade Layers overlay setting or the Color Type setting, Grease Pencil objects render as if no Overlay settings are active and with the Material color type.
Exact steps for others to reproduce the error
Open attached .blend, confirm the Fade Layers Overlay setting and Random Color Type shading settings are active, call Viewport Render Image operator, resulting image differs from Viewport.