Strange visual glitch when enabling SSAO or SS Reflections
Operating system or device - Godot version: Windows 10 64Bit - Godot 3.0 Alpha
Issue description: This might be a user error on my part but it is quite strange. After enabling either SS Reflections or SSAO when a mesh is present in the scene part of the viewport is white, the mesh simply turns black and the console is being spammed with errors as seen here:

ERROR: _display_error_with_code: SceneShaderGLES3: Fragment Program Compilation Failed:
0(1238) : error C7505: OpenGL does not allow swizzles on scalar expressions
0(1238) : error C7505: OpenGL does not allow swizzles on scalar expressions
0(1238) : error C1031: swizzle mask element not present in operand "g"
0(1238) : error C7505: OpenGL does not allow swizzles on scalar expressions
0(1238) : error C1031: swizzle mask element not present in operand "b"
At: drivers/gles3/shader_gles3.cpp:167
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 1282 Severity: High Message: GL_INVALID_OPERATION error generated. No active program.
At: drivers/gles3/rasterizer_gles3.cpp:123
The first error message appears only twice while the other one is being printed constantly while either one or both of the options are enabled. Am I missing something here when it comes to the SS implementation? I think it appeared shortly after the rewritten PBR implementation got added. As I have seen screenshots from Linux users that did not appear to have this issue I would assume that it is Windows specific.
Steps to reproduce:
- Create a new project
- Add a mesh or just use the TestCube
- Enable SS Reflections or SSAO
Alright, the issue is somehow solved now. It might have been fixed by redux's newest commit but in any way, this issue is obsolete now.