OSDN Git Service

gallivm/llvmpipe: prepare support for ARB_gpu_shader_int64.
authorDave Airlie <airlied@redhat.com>
Thu, 9 Jun 2016 00:19:49 +0000 (10:19 +1000)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 21 Sep 2016 08:24:30 +0000 (10:24 +0200)
commit5561a377107cee5e07348fce020de579463c298f
tree8d533b754458d23b9e0a7314b2b70b5283660472
parent6b26039da3deb3950d9798150d5431cb942f5637
gallivm/llvmpipe: prepare support for ARB_gpu_shader_int64.

This enables 64-bit integer support in gallivm and
llvmpipe.

v2: add conversion opcodes.
v3:
- PIPE_CAP_INT64 is not there yet
- restrict DIV/MOD defaults to the CPU, as for 32 bits
- TGSI_OPCODE_I2U64 becomes TGSI_OPCODE_U2I64

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
src/gallium/auxiliary/tgsi/tgsi_info.h