nvc0/ir: check that the image format doesn't mismatch
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 25 Apr 2016 21:13:00 +0000 (23:13 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Apr 2016 17:47:49 +0000 (19:47 +0200)
commit6fc6d548ed66caf4395190718163d964d9c0fe25
tree3b7b342fc79d269f2ff528552f120b8fbb2d1e67
parentfbeb69757c769f594d5f9340adf067a300eddc1d
nvc0/ir: check that the image format doesn't mismatch

This re-uses NVE4_SU_INFO_CALL which is not used anymore because we
don't use our lib for format conversions. While we are at it, add a
todo for image buffers because there are some robustness-related
issues to fix.

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