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

Gl_400_fbo_multisample, Gl_430_direct_state_access_ext, Gl_400_texture_derivative #7

Open
elect86 opened this issue Jan 6, 2016 · 2 comments

Comments

@elect86
Copy link
Collaborator

elect86 commented Jan 6, 2016

C and Java fails.

Shader status invalid: 0(20) : error C5229: Argument 1 for interpolateAtSample must have no component selection

OpenGL Error(GL_INVALID_OPERATION): initProgram

Same for interpolateAtOffset

probabily nvidia glsl compiler bug

@elect86 elect86 changed the title Gl_400_fbo_multisample Gl_400_fbo_multisample, Gl_430_direct_state_access_ext Jan 15, 2016
@elect86
Copy link
Collaborator Author

elect86 commented Feb 5, 2016

Temporary fix (valid only for interpolateAtSample)

this means only for gl-400-fbo-multisample and gl-430-direct-state-access-ext

in vert
{
    vec2 Texcoord;
    //sample vec2 Texcoord;
} Vert;

layout(location = FRAG_COLOR, index = 0) out vec4 Color;

void main()
{
    Color = texture(Diffuse, interpolateAtSample(Vert.Texcoord, gl_SampleID));
    //Color = texture(Diffuse, Vert.Texcoord);
}

@elect86 elect86 changed the title Gl_400_fbo_multisample, Gl_430_direct_state_access_ext Gl_400_fbo_multisample, Gl_430_direct_state_access_ext, Gl_400_texture_derivative Feb 5, 2016
@elect86
Copy link
Collaborator Author

elect86 commented Feb 11, 2016

interpolateAtSample works on linux, although through recompilation..

GlDebugOutput.messageSent(): GLDebugEvent[ id 0x20092
    type Warning: implementation dependent performance
    severity Medium: Severe performance/deprecation/other warnings
    source GL API
    msg Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches.
    when 1455173070857
    source 4.5 (Core profile, arb, debug, compat[ES2, ES3, ES31], FBO, hardware) - 4.5.0 NVIDIA 352.79 - hash 0x83be6b]

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

1 participant