From: Marek Olšák Date: Fri, 29 Jan 2016 23:38:53 +0000 (+0100) Subject: tgsi: set correct src type for UP2H X-Git-Tag: upstream/17.1.0~12936 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f96f94966d10dac6103a0ada39cd005bb93f2fd7;p=platform%2Fupstream%2Fmesa.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 46b296f..70fc460 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: