r600/shader: fix 64->32 conversions
authorDave Airlie <airlied@redhat.com>
Mon, 27 Nov 2017 02:07:45 +0000 (02:07 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 1 Dec 2017 03:48:35 +0000 (03:48 +0000)
commit4f3e73516c1f74ed8b281a88f3b164f355f92439
tree8872d47a5df5b8e051a7724248db459a8144c8ed
parentff0f17da1446e7aa965e06c04a6ad5a55d95463d
r600/shader: fix 64->32 conversions

These didn't handle the TGSI at all properly, this fixes
them to use the common path for 64->32 then adds the 32->int
on at the end.

Fixes:
generated_tests/spec/arb_gpu_shader_fp64/execution/conversion/*

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c