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

ANGLE: QOpenGLShader::compile(Fragment): ERROR: 0:3: '' : No precision specified for (float) #12600

Closed
JoergAtGithub opened this issue Jan 20, 2024 · 1 comment

Comments

@JoergAtGithub
Copy link
Member

JoergAtGithub commented Jan 20, 2024

Bug Description

I just tested the latest Mixxx 2.4 with ANGLE, by setting $env:QT_OPENGL = 'angle'. I got the error messages below at startup:

warning [Main] QOpenGLShader::compile(Fragment): ERROR: 0:3: '' : No precision specified for (float)

warning [Main] *** Problematic Fragment shader source code ***
#ifdef GL_KHR_blend_equation_advanced
#extension GL_ARB_fragment_coord_conventions : enable
#extension GL_KHR_blend_equation_advanced : enable
#endif
#line 1

uniform sampler2D texture;
uniform vec2 repetitions;
varying highp vec2 vTexcoor;
void main()
{
    gl_FragColor = texture2D(texture, fract(vTexcoor * repetitions));
}

***
warning [Main] QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked
warning [Main] QOpenGLShaderProgram::attributeLocation(position): shader program is not linked
warning [Main] QOpenGLShaderProgram::attributeLocation(texcoor): shader program is not linked
warning [Main] QOpenGLShaderProgram::uniformLocation(texture): shader program is not linked
warning [Main] QOpenGLShaderProgram::uniformLocation(repetitions): shader program is not linked
warning [Main] QOpenGLShader::compile(Fragment): ERROR: 0:3: '' : No precision specified for (float)

warning [Main] *** Problematic Fragment shader source code ***
#ifdef GL_KHR_blend_equation_advanced
#extension GL_ARB_fragment_coord_conventions : enable
#extension GL_KHR_blend_equation_advanced : enable
#endif
#line 1

uniform sampler2D texture;
uniform vec2 repetitions;
varying highp vec2 vTexcoor;
void main()
{
    gl_FragColor = texture2D(texture, fract(vTexcoor * repetitions));
}

***
warning [Main] QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked
warning [Main] QOpenGLShaderProgram::attributeLocation(position): shader program is not linked
warning [Main] QOpenGLShaderProgram::attributeLocation(texcoor): shader program is not linked
warning [Main] QOpenGLShaderProgram::uniformLocation(texture): shader program is not linked
warning [Main] QOpenGLShaderProgram::uniformLocation(repetitions): shader program is not linked
warning [Main] QOpenGLShader::link: The program must contain objects to form both a vertex and fragment shader.

Version

2.4

OS

Windows 11 + ANGLE

@JoergAtGithub
Copy link
Member Author

Moved the scaling issue to #12608

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

No branches or pull requests

1 participant