nvc0/ir: fix cube images for Kepler
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 2 Apr 2016 10:58:46 +0000 (12:58 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Apr 2016 17:47:49 +0000 (19:47 +0200)
commite478156ed7b57724fd189efd5c4ac42e769f6d04
treeb02755770c3015a16ba2b9bf25e3f3d252b4d6d8
parent3ce80f924d07648040ab08a9cd30588621fb47a1
nvc0/ir: fix cube images for Kepler

Like 2d array images, the z-dimension needs to be clamped.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp