spirv: Add a 64-bit implementation of OpIsInf
authorNeil Roberts <nroberts@igalia.com>
Wed, 21 Mar 2018 19:34:39 +0000 (20:34 +0100)
committerNeil Roberts <nroberts@igalia.com>
Tue, 17 Apr 2018 18:58:06 +0000 (20:58 +0200)
commit6e499572b9a7b33165b8438a85db37ae1ba0ce0e
tree560bf1dae863a2bc4aceacae96f7741a1d005439
parent696f4abcbc07b96724307823b9e807cd981da3b5
spirv: Add a 64-bit implementation of OpIsInf

The only change neccessary is to change the type of the constant used
to compare against.

This has been tested against the arb_gpu_shader_fp64/execution/
fs-isinf-dvec tests using the ARB_gl_spirv branch.

v2: Use nir_imm_floatN_t for the constant.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/vtn_alu.c