Created attachment 92800 [details] dFdx_frag.test output System Environment: -------------------------- Platform: Pineview/Ironlake/Sandybridge/Ivybridge/Haswell/Baytrail Libdrm: (master)libdrm-2.4.52 Mesa: (master)00c672086c31f94dd96609fa976300781f53792e Xserver: (master)xorg-server-1.15.0-558-gc1ce807d9f18f215332d7eeb844e8c640f71c53c Xf86_video_intel:(master)2.99.907-52-gc9e9c85fc7b21e231c2532fe1c75b92307e112ed Cairo: (master)2a7f133639bed86a29dd9693cb78c0aa42eaff30 Libva: (staging)79ddde6bab54618046f136471c020c08ff4fde50 Libva_intel_driver:(staging)6736a39fce442a8e5abb2a2e99adf56e3965d35f Kernel: (drm-intel-nightly) 164a4cb4c1431a0689f85507868356fae24da638 Bug detailed description: ----------------------------- Many Ogles2conform cases fail on all platforms with mesa master branch. It doesn't happen on mesa 10.0 branch. Bisect shows: b2d1c579bb84a88179072a6a783f8827e218db55 is the first bad commit commit b2d1c579bb84a88179072a6a783f8827e218db55 Author: Matt Turner <mattst88@gmail.com> AuthorDate: Fri Jan 17 14:22:49 2014 -0800 Commit: Matt Turner <mattst88@gmail.com> CommitDate: Thu Jan 23 11:33:22 2014 -0800 glcpp: Set extension defines after resolving the GLSL version. Instead of defining preprocessor macros in glcpp_parser_create based on the GL API, wait until the shader version has been resolved. Doing this allows us to correctly set (and not set) preprocessor macros for extensions allowed by the API but not the shader, as in the case of ARB_ES3_compatibility. The shader version has been resolved when the preprocessor encounters the first preprocessor token, since the GLSL spec says "The #version directive must occur in a shader before anything else, except for comments and white space." Specifically, if a #version token is found the version is known explicitly, and if any other preprocessor token is found then the GLSL version is implicitly 1.10. Cc: mesa-stable@lists.freedesktop.org Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71630 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> run GL2ExtensionTests/dFdx/dFdx_frag.test Reproduce steps: ---------------------------- 1. xinit 2../GTF -width=64 -height=64 -run=GL2ExtensionTests/dFdx/dFdx_frag.test
Created attachment 92802 [details] gles2 case Run attachment case, It also fails with same bisect commit.
*** This bug has been marked as a duplicate of bug 74066 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.