- 积分
- 10
贡献53
飞刀9 FD
注册时间2023-3-21
在线时间1 小时
|
楼主 |
发表于 2023-3-22 09:57:10
|
显示全部楼层
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
QOpenGLShader::compile(Fragment): 1:2: P0003: Warning: Extension 'GL_ARB_fragment_coord_conventions' not supported
4:1: S0032: no default precision defined for variable 'FragColor'
*** Problematic Fragment shader source code ***
#version 320 es
#ifdef GL_KHR_blend_equation_advanced
#extension GL_ARB_fragment_coord_conventions : enable
#extension GL_KHR_blend_equation_advanced : enable
#endif
#ifndef GL_FRAGMENT_PRECISION_HIGH
#define highp mediump
#endif
#line 1
out vec4 FragColor;
void main(){
FragColor = vec4(0.7f, 0.7f, 0.7f, 1.0f);
}
***
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::compile(Fragment): 1:2: P0003: Warning: Extension 'GL_ARB_fragment_coord_conventions' not supported
4:1: S0032: no default precision defined for variable 'ourColor'
*** Problematic Fragment shader source code ***
#version 320 es
#ifdef GL_KHR_blend_equation_advanced
#extension GL_ARB_fragment_coord_conventions : enable
#extension GL_KHR_blend_equation_advanced : enable
#endif
#ifndef GL_FRAGMENT_PRECISION_HIGH
#define highp mediump
#endif
#line 1
in vec3 ourColor;
out vec4 FragColor;
void main(){
FragColor = vec4(ourColor, 1.0f);
}
***
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::compile(Fragment): 1:2: P0003: Warning: Extension 'GL_ARB_fragment_coord_conventions' not supported
4:1: S0032: no default precision defined for variable 'FragColor'
*** Problematic Fragment shader source code ***
#version 320 es
#ifdef GL_KHR_blend_equation_advanced
#extension GL_ARB_fragment_coord_conventions : enable
#extension GL_KHR_blend_equation_advanced : enable
#endif
#ifndef GL_FRAGMENT_PRECISION_HIGH
#define highp mediump
#endif
#line 1
out vec4 FragColor;
void main(){
FragColor = vec4(0.7f, 0.7f, 0.7f, 1.0f);
}
***
QOpenGLShader::link: Link failed because of missing fragment shader.
point_count 0
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShaderProgram::uniformLocation(projection): shader program is not linked
QOpenGLShaderProgram::uniformLocation(view): shader program is not linked
QOpenGLShaderProgram::uniformLocation(model): shader program is not linked
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::link: Link failed because of missing fragment shader.
QOpenGLShader::link: Link failed because of missing fragment shader. |
|