nouveau: codegen: Do not silently fail in handeLOAD / handleSTORE / handleATOM
authorHans de Goede <hdegoede@redhat.com>
Thu, 17 Mar 2016 09:00:59 +0000 (10:00 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 21 Mar 2016 11:20:48 +0000 (12:20 +0100)
commit9b4c8f66294d6b8c3a935736b03a6e530b716f95
tree337b9762459a5faddd16872b4f4d71678b26bb53
parent86e444036190fb6215e9365fe4126b420a15784a
nouveau: codegen: Do not silently fail in handeLOAD / handleSTORE / handleATOM

handeLOAD / handleSTORE / handleATOM can only handle TGSI_FILE_BUFFER
and TGSI_FILE_MEMORY. Make things fail explictly when another
register-file is used in these functions.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (v2)
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp