From: Marek Olšák Date: Fri, 29 Jan 2016 23:38:53 +0000 (+0100) Subject: tgsi: set correct src type for UP2H X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f96f94966d10dac6103a0ada39cd005bb93f2fd7;p=mesa.git tgsi: set correct src type for UP2H Reviewed-by: Roland Scheidegger --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.c b/src/gallium/auxiliary/tgsi/tgsi_info.c index 46b296faaca..70fc4604537 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_info.c +++ b/src/gallium/auxiliary/tgsi/tgsi_info.c @@ -426,6 +426,7 @@ tgsi_opcode_infer_src_type( uint opcode ) case TGSI_OPCODE_SAMPLE_I: case TGSI_OPCODE_SAMPLE_I_MS: case TGSI_OPCODE_UMUL_HI: + case TGSI_OPCODE_UP2H: return TGSI_TYPE_UNSIGNED; case TGSI_OPCODE_IMUL_HI: case TGSI_OPCODE_I2F: