[Mesa-dev] [Bug 88806] nir/nir_constant_expressions.c:2754:15: error: controlling expression type 'unsigned int' not compatible with any generic association type

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 26 11:44:51 PST 2015


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

Vinson Lee <vlee at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bisected
                 CC|                            |cwabbott0 at gmail.com,
                   |                            |jason at jlekstrand.net
             Blocks|                            |79706

--- Comment #1 from Vinson Lee <vlee at freedesktop.org> ---
89285e4d47a65e52547180dca46ecfd81b2996e9 is the first bad commit
commit 89285e4d47a65e52547180dca46ecfd81b2996e9
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Jan 23 13:38:46 2015 -0800

    nir: add new constant folding infrastructure

    Add a required field to the Opcode class, const_expr, that contains an
    expression or statement that computes the result of the opcode given known
    constant inputs. Then take those const_expr's and expand them into a
function
    that takes an opcode and an array of constant inputs and spits out the
constant
    result. This means that when adding opcodes, there's one less place to
update,
    and almost all the opcodes are self-documenting since the information on
how to
    compute the result is right next to the definition.

    The helper functions in nir_constant_expressions.c were taken from
    ir_constant_expressions.cpp.

    v3 Jason Ekstrand <jason.ekstrand at iastate.edu>
     - Use mako to generate one function per opcode instead of doing piles of
       string splicing

    v4 Jason Ekstrand <jason.ekstrand at iastate.edu>
     - More comments and better indentation in the mako
     - Add a description of the constant expression language in nir_opcodes.py
     - Added nir_constant_expressions.py to EXTRA_DIST in Makefile.am

    Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
    Reviewed-by: Connor Abbott <cwabbott0 at gmail.com>

:040000 040000 4823f33d8c6840f25c1aefc6c61cec212492c805
5d152f618ce5fe346a0e71f4be242b597120a219 M    src
bisect run success

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


More information about the mesa-dev mailing list