[Bug 94444] Scalar FS validation failed on glDrawElements with GL_NONE draw buffer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 8 14:34:27 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94444

            Bug ID: 94444
           Summary: Scalar FS validation failed on glDrawElements with
                    GL_NONE draw buffer
           Product: Mesa
           Version: 11.2
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: org.freedesktop at io7m.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Created attachment 122158
  --> https://bugs.freedesktop.org/attachment.cgi?id=122158&action=edit
Makefile

Hello.

I'm using the following setup:

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) Sandybridge Mobile  (0x116)
    Version: 11.1.2
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.1.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

Linux copperhead 4.4.3-1-ARCH #1 SMP PREEMPT Fri Feb 26 15:09:29 CET 2016
x86_64 GNU/Linux

The following small program will trigger an assertion failure when calling
glDrawArrays().

The problem seems to be triggered by declaring a vec2 fragment shader output,
and writing to it, but without having an associated color attachment on the
framebuffer and with all framebuffer draw buffers set to GL_NONE.

I've included sources as attachments, but you may prefer the git repository
here:

https://github.com/io7m/mesa-intel-bug-20160308

Just "make && ./bug". I've also included an apitrace.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160308/ffed1b22/attachment.html>


More information about the intel-3d-bugs mailing list