nv50/ir: fix texture offsets in release builds
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 4 Jan 2015 23:03:20 +0000 (18:03 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 5 Jan 2015 05:34:33 +0000 (00:34 -0500)
commitfb1afd1ea5fd25d82c75c5c3a2aba0bcb53b6d47
tree82da8803c69b6d51404440c8156b8429b4b594da
parent546425726387ffceb71989e08028c386d21dedfd
nv50/ir: fix texture offsets in release builds

assert's get compiled out in release builds, so they can't be relied
upon to perform logic.

Reported-by: Pierre Moreau <pierre.morrow@free.fr>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Tested-by: Roy Spliet <rspliet@eclipso.eu>
Cc: "10.2 10.3 10.4" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp