[Mesa-dev] [Bug 75661] st_glsl_to_tgsi.cpp:637:get_opcode: Assertion `src0.type != GLSL_TYPE_STRUCT' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 3 14:59:49 PST 2014


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

Vinson Lee <vlee at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bryancain3+fdo at gmail.com
           Keywords|                            |regression

--- Comment #1 from Vinson Lee <vlee at freedesktop.org> ---
ebd8df7a3152e34805e2863c8471ee1a2de38fe1 is the first bad commit
commit ebd8df7a3152e34805e2863c8471ee1a2de38fe1
Author: Bryan Cain <bryancain3 at gmail.com>
Date:   Tue Oct 23 11:58:40 2012 -0500

    glsl_to_tgsi: set correct register type for array and structure elements

    This fixes an issue where glsl_to_tgsi_visior::get_opcode() would emit the
    wrong opcode because the register type was GLSL_TYPE_ARRAY/STRUCT instead
of
    GLSL_TYPE_FLOAT/INT/UINT/BOOL, so the function would use the float opcodes
for
    operations on integer or boolean values dereferenced from an array or
    structure.  Assertions have been added to get_opcode() to prevent this bug
    from reappearing in the future.

:040000 040000 a1514a0bff8facb9462bd47ae879ae6cee1813f4
78f7de501607623cc59255860ca8583d9da2cd07 M    src
bisect run success

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


More information about the mesa-dev mailing list