From: Caio Marcelo de Oliveira Filho Date: Mon, 22 Apr 2019 21:21:45 +0000 (-0700) Subject: spirv: Pick the right bitsize when doing SpvUConvert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02d140ce9a0e8e5f800c55d05f971ae96b908a50;p=mesa.git spirv: Pick the right bitsize when doing SpvUConvert Reviewed-by: Karol Herbst --- diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 743f8ba8fb9..7d7471db3ed 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -1926,6 +1926,7 @@ vtn_handle_constant(struct vtn_builder *b, SpvOp opcode, switch (opcode) { case SpvOpSConvert: case SpvOpFConvert: + case SpvOpUConvert: /* We have a source in a conversion */ src_alu_type = nir_get_nir_type_for_glsl_type(