aco: implement b2i8/b2i16

Fixes lots of tests under dEQP-VK.spirv_assembly.type.*

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5993>
This commit is contained in:
Rhys Perry
2020-07-20 19:21:20 +01:00
committed by Marge Bot
parent 3a7cd7bd65
commit 04ea4f1ce4
2 changed files with 15 additions and 5 deletions
@@ -532,7 +532,10 @@ void init_context(isel_context *ctx, nir_shader *shader)
case nir_op_f2u32:
case nir_op_f2i64:
case nir_op_f2u64:
case nir_op_b2i8:
case nir_op_b2i16:
case nir_op_b2i32:
case nir_op_b2i64:
case nir_op_b2b32:
case nir_op_b2f16:
case nir_op_b2f32: