Is it possible to check out somehow inside shaders (at the GLSL level) the actual state of the polygon rasterization mode, which has been set before using glPolygonMode() at the host language level? I mean if some GLSL-intrinsic method exists for that, without necessity to send the polygon rasterization mode actual state to the shaders using user defined uniform, for example.