OSDN Git Service

i965/fs: Fix some untriggered optimization bugs with uncompressed/sechalf.
authorEric Anholt <eric@anholt.net>
Thu, 11 Apr 2013 16:54:41 +0000 (09:54 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 12 Apr 2013 23:32:12 +0000 (16:32 -0700)
commitadf251406b5cf5e74f88c91799228dd9cc8dac29
tree0e969495bdf9aac8d4f61e46835b8d0f0494dc14
parenteaca8a94e27d5ec13fcbe5158212310292270e51
i965/fs: Fix some untriggered optimization bugs with uncompressed/sechalf.

We have this support for firsthalf/sechalf instructions, which would be
called in the !has_compr4 (aka original gen4) 16-wide case.  We currently
only support 16-wide for gen5+, so we weren't tripping over this, but it
would have been a problem if we ever try to enable it.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp