st/glsl_to_tgsi: add support for 64-bit integers
authorDave Airlie <airlied@redhat.com>
Thu, 9 Jun 2016 00:17:26 +0000 (10:17 +1000)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 27 Jan 2017 09:19:39 +0000 (10:19 +0100)
commit278580729a574a72460b013f4efc134a5523cb8d
tree5020a68228d545fb2261db91278dca284e0bcaae
parentf804506d4d4aa1299ce0b1026848321641311672
st/glsl_to_tgsi: add support for 64-bit integers

v2: add conversion opcodes.

v3 (idr): Rebase on replacemtn of TGSI_OPCODE_I2U64 with
TGSI_OPCODE_I2I64.

v4 (idr): "cut them down later" => Remove ir_unop_b2u64 and
ir_unop_u642b.  Handle these with extra i2u or u2i casts just like
uint(bool) and bool(uint) conversion is done.

v5 (nha): add clarifying comment about a subtle assumption

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp