nvc0/ir: don't require AND when the high byte is being addressed
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 19 Aug 2015 02:53:11 +0000 (22:53 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 20 Aug 2015 21:58:30 +0000 (17:58 -0400)
commit9ebe7dc09479d9a8df2733ef96525a2b5e758f6d
tree6410f973c8679516cdcbe3ddddb6b125468f6a9c
parent63cb85e567ad1025ee990b38f43c2f1ef811821b
nvc0/ir: don't require AND when the high byte is being addressed

unpackUnorm* lowering doesn't AND the high byte/word as it's
unnecessary. Detect that situation as well.

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