OSDN Git Service

ir_to_mesa: Copy reladdr in src_reg(dst_reg) constructor
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 18 Jul 2011 06:35:26 +0000 (23:35 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 28 Jul 2011 18:47:44 +0000 (11:47 -0700)
commit8b41ae0b2a9d283098334d2ec9b7d73f8ed339c9
tree13eb92a1abc097e3502b989694c3ceb91e8daaa3
parentb00b5fe267907028e32a70112f60c7642fd92e24
ir_to_mesa: Copy reladdr in src_reg(dst_reg) constructor

Fixes i965 piglit:

    vs-temp-array-mat[234]-col-row-wr
    vs-temp-array-mat[234]-index-col-row-wr
    vs-temp-array-mat[234]-index-row-wr
    vs-temp-mat[234]-col-row-wr

Fixes swrast piglit:

    fs-temp-array-mat[234]-col-row-wr
    fs-temp-array-mat[234]-index-col-row-wr
    fs-temp-array-mat[234]-index-row-wr
    fs-temp-mat[234]-col-row-wr
    vs-temp-array-mat[234]-col-row-wr
    vs-temp-array-mat[234]-index-col-row-wr
    vs-temp-array-mat[234]-index-row-wr
    vs-temp-mat[234]-col-row-wr

Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit f7cd9a858c043e609fcdbf9ac9dfc1ef7ad002bf)
src/mesa/program/ir_to_mesa.cpp