diff options
author | Marek Olšák <[email protected]> | 2016-01-30 00:38:53 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-02-02 21:02:26 +0100 |
commit | f96f94966d10dac6103a0ada39cd005bb93f2fd7 (patch) | |
tree | cb294291e7357eaad385abd4986fc5fa4c3f4d4a | |
parent | 19db71807f9ad9af8cc994705a18e9dd06f72b5d (diff) |
tgsi: set correct src type for UP2H
Reviewed-by: Roland Scheidegger <[email protected]>
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_info.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |