This is the radial control that appears when we change the size of a brush in sculpt and vertex and texture painting modes, by pressing "f".
For texture painting the color of the texture shown is black in Blender 2.8 (even without this patch), but it's white in master and older Blender versions. Should we have another shader that combines texture and a uniform color or update GPU_SHADER_3D_IMAGE_MODULATE_ALPHA to do this job?
Anyway, sitting on this patch for a while, updating and testing, better put it here already.