OSDN Git Service

i965: Add initial folding of constants into operand immediate slots.
authorEric Anholt <eric@anholt.net>
Mon, 4 Oct 2010 18:48:04 +0000 (11:48 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 4 Oct 2010 23:08:17 +0000 (16:08 -0700)
commit3bf8774e9c293fcad654d1bd67d4b43247b82f97
tree8cb0647fac0c808babdbfd70caf2f707dd8f076a
parente27c88d8e6c9d18bfa793f884d02ce6011c4bdde
i965: Add initial folding of constants into operand immediate slots.

We could try to detect this in expression handling and do it
proactively there, but it seems like less logic to do it in one
optional pass at the end.
src/mesa/drivers/dri/i965/brw_fs.cpp