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@lists.freedesktop.org
          Reporter: bhen...@vmware.com
        QA Contact: intel-3d-b...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to