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

The program is only running at 7 fps on my machine #15

Open
berylliumquestion opened this issue May 16, 2019 · 2 comments
Open

The program is only running at 7 fps on my machine #15

berylliumquestion opened this issue May 16, 2019 · 2 comments

Comments

@berylliumquestion
Copy link

I'm able to get it to load, but it seems a little slow. I noticed that it's throwing these errors on my terminal:

shaders/fxaa_f.glsl:3(12): warning: extension GL_EXT_gpu_shader4' unsupported in fragment shader shaders/fxaa_f.glsl:29(15): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are:
shaders/fxaa_f.glsl:29(15): error: type mismatch
shaders/fxaa_f.glsl:30(15): error: no function with name 'texture2DLodOffset'
shaders/fxaa_f.glsl:30(15): error: type mismatch
shaders/fxaa_f.glsl:31(15): error: no function with name 'texture2DLodOffset'
shaders/fxaa_f.glsl:31(15): error: type mismatch
shaders/fxaa_f.glsl:32(15): error: no function with name 'texture2DLodOffset'
shaders/fxaa_f.glsl:32(15): error: type mismatch
shaders/fxaa_f.glsl:33(14): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are: shaders/fxaa_f.glsl:33(14): error: type mismatch shaders/fxaa_f.glsl:36(21): warning: rgbNW' used uninitialized
shaders/fxaa_f.glsl:37(21): warning: rgbNE' used uninitialized shaders/fxaa_f.glsl:38(21): warning: rgbSW' used uninitialized
shaders/fxaa_f.glsl:39(21): warning: rgbSE' used uninitialized shaders/fxaa_f.glsl:40(20): warning: rgbM' used uninitialized
shaders/fxaa_f.glsl:58(2): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are: shaders/fxaa_f.glsl:58(2): error: type mismatch shaders/fxaa_f.glsl:59(2): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are:
shaders/fxaa_f.glsl:59(2): error: type mismatch
shaders/fxaa_f.glsl:58(2): error: operands to arithmetic operators must be numeric
shaders/fxaa_f.glsl:57(14): error: operands to arithmetic operators must be numeric
shaders/fxaa_f.glsl:60(14): warning: rgbA' used uninitialized shaders/fxaa_f.glsl:61(2): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are:
shaders/fxaa_f.glsl:61(2): error: type mismatch
shaders/fxaa_f.glsl:62(2): error: no matching function for call to texture2DLod(sampler2D, vec2, float)'; candidates are: shaders/fxaa_f.glsl:62(2): error: type mismatch shaders/fxaa_f.glsl:61(2): error: operands to arithmetic operators must be numeric shaders/fxaa_f.glsl:60(33): error: operands to arithmetic operators must be numeric shaders/fxaa_f.glsl:60(14): error: operands to arithmetic operators must be numeric shaders/fxaa_f.glsl:63(20): warning: rgbB' used uninitialized
shaders/fxaa_f.glsl:64(52): warning: rgbA' used uninitialized shaders/fxaa_f.glsl:65(9): warning: rgbB' used uninitialized
:display:gsg:glgsg(error): An error occurred while linking GLSL shader shaders/terrain_w_f.glsl
error: fragment shader input `waterFog' has no matching output in the previous stage

Is this the cause of the lag. GitHub is telling me it might be related to this issue? #2 I have the latest glsl if that's related at all.

@wezu
Copy link
Owner

wezu commented May 18, 2019

I'll try to re-write the fxaa shader when I get a few moments of free time. What os are you running on?

@berylliumquestion
Copy link
Author

I'm running it on the Parabola GNU/Linux-libre distro. It's pretty much up to date so far.

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

No branches or pull requests

2 participants