intel: fix clears with mipLevels > 1
authorChia-I Wu <olv@lunarg.com>
Tue, 28 Oct 2014 06:17:43 +0000 (14:17 +0800)
committerChia-I Wu <olv@lunarg.com>
Tue, 28 Oct 2014 06:52:21 +0000 (14:52 +0800)
commitfaaed4766b0263a3f153e82b141eccc89084df05
treef07e2d325d34df4d777a5df934e634d7cced6241
parent238cabd99681d9cdbaba3675a5fb8763ba562bd1
intel: fix clears with mipLevels > 1

meta->dst.layer should be reset to range->baseArraySlice for each mip level.
Otherwise, we may render out-of-bound and cause screen corruptions.
icd/intel/cmd_meta.c