tgsi: set correct src type for UP2H
authorMarek Olšák <marek.olsak@amd.com>
Fri, 29 Jan 2016 23:38:53 +0000 (00:38 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 2 Feb 2016 20:02:26 +0000 (21:02 +0100)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_info.c

index 46b296faaca6369c0a095b170833bdf55de7cadd..70fc4604537e917bac94ba23b21efc343d2fcb59 100644 (file)
@@ -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: