Grid is opaque and different scale on macOS
Open, ConfirmedPublic

Description

System Information
macOS 10.12.6 AMD Radeon R9 M390 2048 MB

Blender Version
Broken: blender-2.80.0-git20170615.f2d7a28a098-x86_64

Downloaded from https://builder.blender.org/download/

All working versions of 2.8 have shown this for me, on 10.12.5 and 10.12.6, In Evee and Clay the grid is an opaque 'floor' and appears to be very large.

Exact steps for others to reproduce the error
Just load the build and observe the cube in the default scene

Blender Render

Evee

Details

Type
Bug
Mike Erwin (merwin) triaged this task as Confirmed priority.Jun 15 2017, 6:11 PM

Exact same issue on Mac + NVIDIA.

However, Mac + Intel works as intended!

I think this may come from derivative calculation. I use the GLSL function fwidth to compute line thickness and it requires local derivatives. So it may be a driver error or a faulty implementation of derivatives.