[Mesa-dev] [Bug 101941] Getting different output depending on attribute declaration order

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 27 05:31:56 UTC 2017


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

            Bug ID: 101941
           Summary: Getting different output depending on attribute
                    declaration order
           Product: Mesa
           Version: git
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: glsl-compiler
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: bhenden at vmware.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

I am getting different results depending on attribute order. 

For example, in piglit test gl-2.0-vertex-const-attr, vertex shader has
attribute order as
        "attribute vec2 vertex; \n"
        "attribute vec4 attr; \n" 

If I modified it to 
        "attribute vec4 attr; \n"
        "attribute vec2 vertex; \n"

I am getting wrong results. If I bind attributes to particular location using
glBindAttribLocation call then it works fine. If I use glGetAttribLocation to
get corresponding attribute location, then it gives wrong results.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170727/3f3307e3/attachment.html>


More information about the mesa-dev mailing list