There is no such issue when I used mesa 11.2.0 on Ubuntu 16.04. I found this issue on mesa 17.0.7 and mesa 17.2.4 also has this issue.