[Mesa-dev] [Bug 42517] Abort with llvmpipe renderer: ir_swizzle @ 0x2e8f0a0 specifies a channel not present in the value.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 4 01:38:20 PDT 2011


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

Vinson Lee <vlee at vmware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mesa-dev at lists.freedesktop. |idr at freedesktop.org
                   |org                         |
          Component|Mesa core                   |glsl-compiler

--- Comment #1 from Vinson Lee <vlee at vmware.com> 2011-11-04 01:38:20 PDT ---
Look to be a GLSL compiler issue. Assigning it to the glsl-compiler component.


mesa-7.11/src/glsl/ir_validate.cpp
   447  ir_visitor_status
   448  ir_validate::visit_leave(ir_swizzle *ir)
   449  {
   450     int chans[4] = {ir->mask.x, ir->mask.y, ir->mask.z, ir->mask.w};
   451  
   452     for (unsigned int i = 0; i < ir->type->vector_elements; i++) {
   453        if (chans[i] >= ir->val->type->vector_elements) {
   454           printf("ir_swizzle @ %p specifies a channel not present "
   455                  "in the value.\n", (void *) ir);
   456           ir->print();
   457           abort();
   458        }
   459     }
   460  
   461     return visit_continue;
   462  }

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list