brush GLSL API enhancements: macro if it may issue discard, function to return color and if it would issue discard (instead of discarding)