nvir/nvc0: fix legalizing of ld unlock c0[0x10000]
authorKarol Herbst <kherbst@redhat.com>
Mon, 19 Feb 2018 23:45:14 +0000 (00:45 +0100)
committerKarol Herbst <kherbst@redhat.com>
Wed, 21 Feb 2018 10:12:45 +0000 (11:12 +0100)
commit7319311a504c06890181044668c8d01cf5ddd322
tree71c1b51f66c7207044f59a7e71af4075db5acd85
parenta6accad68fbeccc7dad2c2d6343bcdb4751e90b3
nvir/nvc0: fix legalizing of ld unlock c0[0x10000]

We have to increase the file index also for 0x10000 not just for values
greater than 0x10000.

Fixes: 37b67db6ae34fb6586d640a7a1b6232f091dd812
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp