https://bugs.freedesktop.org/show_bug.cgi?id=103234
--- Comment #20 from bernhardu bernhardu@mailbox.org --- Got already commited in master branch: https://cgit.freedesktop.org/mesa/mesa/commit/src/mesa/state_tracker/st_draw...
But not yet in 17.3 or 18.0 branch.