Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gray screen window show instead of project manager #71551

Closed
Chaosus opened this issue Jan 17, 2023 · 2 comments · Fixed by #71552
Closed

Gray screen window show instead of project manager #71551

Chaosus opened this issue Jan 17, 2023 · 2 comments · Fixed by #71552

Comments

@Chaosus
Copy link
Member

Chaosus commented Jan 17, 2023

Godot version

1915276

System information

Windows 11

Issue description

image

Steps to reproduce

Just run the Godot

Minimal reproduction project

N/A

@Chaosus Chaosus changed the title Gray screen window show instead of project editor Gray screen window show instead of project manager Jan 17, 2023
@akien-mga akien-mga added this to the 4.0 milestone Jan 17, 2023
@Chaosus Chaosus added this to the 4.0 milestone Jan 17, 2023
@akien-mga
Copy link
Member

Happens on Linux too.

@akien-mga
Copy link
Member

520: #if defined(NORMAL_USED)
521:    bool normal_used = true;
522: #else
523:    bool normal_used = false;
524: #endif
525: 
526:    if (normal_used || (using_light && bool(read_draw_data_flags & FLAGS_DEFAULT_NORMAL_MAP_USED))) {
527:            normal.xy = texture(normal_texture, uv).xy * vec2(2.0, -2.0) - vec2(1.0, -1.0);
528:            if (bool(draw_data.flags & FLAGS_FLIP_H)) {
529:                    normal.x = -normal.x;
530:            }
531:            if (bool(draw_data.flags & FLAGS_FLIP_V)) {
532:                    normal.y = -normal.y;
533:            }
534:            normal.z = sqrt(1.0 - dot(normal.xy, normal.xy));
535:            normal_used = true;
536:    } else {
537:            normal = vec3(0.0, 0.0, 1.0);
538:    }
ERROR: CanvasShaderGLES3: Fragment shader compilation failed:
0:528(11): error: `draw_data' undeclared
0:528(11): error: type mismatch
0:528(11): error: LHS of `&' must be an integer
0:528(6): error: cannot construct `bool' from a non-numeric data type
0:528(6): error: if-statement condition must be scalar boolean
0:531(11): error: `draw_data' undeclared
0:531(11): error: type mismatch
0:531(11): error: LHS of `&' must be an integer
0:531(6): error: cannot construct `bool' from a non-numeric data type
0:531(6): error: if-statement condition must be scalar boolean

   at: _display_error_with_code (drivers/gles3/shader_gles3.cpp:242)
ERROR: Method/function failed.
   at: _compile_specialization (drivers/gles3/shader_gles3.cpp:342)

Would be a regression from #71382 judging by the stacktrace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants