OSDN Git Service

nvc0/ir: undo more shifts still by allowing a pre-SHL to occur
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 19 Aug 2015 03:16:32 +0000 (23:16 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 20 Aug 2015 21:58:30 +0000 (17:58 -0400)
commitf5b926183ded75661ab3f786ac1739b1f912c6c5
tree9aad9629dbb275670d35b2429423fc8d6dfa4503
parent9ebe7dc09479d9a8df2733ef96525a2b5e758f6d
nvc0/ir: undo more shifts still by allowing a pre-SHL to occur

This happens with unpackSnorm lowering. There's yet another
bitfield-extract behind it, but there's too much variation to be worth
cutting through.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp