[Mesa-dev] [Bug 105161] Validation of KHR_blend_equation_advanced stricter than NVidia

2018-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105161 --- Comment #9 from Allan Sandfeld Jensen --- The problem is the check in linker.cpp (link_fs_inout_layout_qualifiers): if (linked_shader->Stage != MESA_SHADER_FRAGMENT || (prog->data->Version < 150 &&

[Mesa-dev] [Bug 105161] Validation of KHR_blend_equation_advanced stricter than NVidia

2018-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105161 --- Comment #8 from Allan Sandfeld Jensen --- That would fix the parsing in compatibility shaders. It doesn't make it work. I found after digging into mesa code that I needed: #extension GL_ARB_fragment_coord_conventions :

[Mesa-dev] [Bug 105161] Validation of KHR_blend_equation_advanced stricter than NVidia

2018-02-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105161 Kenneth Graunke changed: What|Removed |Added Resolution|--- |NOTABUG

[Mesa-dev] [Bug 105161] Validation of KHR_blend_equation_advanced stricter than NVidia

2018-02-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105161 --- Comment #6 from Allan Sandfeld Jensen --- Right. I think NVidia can get away with it because this requirement is new in the KHR version, they also implement the original NV version which doesnt have it (and like is OpenGL

[Mesa-dev] [Bug 105161] Validation of KHR_blend_equation_advanced stricter than NVidia

2018-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105161 Kenneth Graunke changed: What|Removed |Added Status|NEW |ASSIGNED

[Mesa-dev] [Bug 105161] Validation of KHR_blend_equation_advanced stricter than NVidia

2018-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105161 --- Comment #4 from Ilia Mirkin --- Specifically, the ext spec says, """ A draw-time error will be generated in the OpenGL API if an application attempts to render using an advanced blending equation without

[Mesa-dev] [Bug 105161] Validation of KHR_blend_equation_advanced stricter than NVidia

2018-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105161 --- Comment #3 from Ilia Mirkin --- The specification is available at https://www.khronos.org/registry/OpenGL/extensions/KHR/KHR_blend_equation_advanced.txt If you find the NVIDIA drivers doing something different than

[Mesa-dev] [Bug 105161] Validation of KHR_blend_equation_advanced stricter than NVidia

2018-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105161 --- Comment #2 from Allan Sandfeld Jensen --- Note. I have been unable to get it to work at all in compatibility-mode desktop OpenGL. The following code only works in core mode: #ifdef GL_KHR_blend_equation_advanced

[Mesa-dev] [Bug 105161] Validation of KHR_blend_equation_advanced stricter than NVidia

2018-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105161 --- Comment #1 from Allan Sandfeld Jensen --- I traced the issue to this commit: commit acf57fcf7ff7e60c3550da7b6dda7ad8b69195bd Author: Kenneth Graunke Date: Sat Aug 20 12:51:03 2016 -0700

[Mesa-dev] [Bug 105161] Validation of KHR_blend_equation_advanced stricter than NVidia

2018-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105161 Bug ID: 105161 Summary: Validation of KHR_blend_equation_advanced stricter than NVidia Product: Mesa Version: 17.3 Hardware: Other OS: All