diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.h b/src/gallium/auxiliary/tgsi/tgsi_info.h index 46f03cd393f..c43bdfdf985 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_info.h +++ b/src/gallium/auxiliary/tgsi/tgsi_info.h @@ -101,6 +101,13 @@ enum tgsi_opcode_type { TGSI_TYPE_DOUBLE }; +static inline bool tgsi_type_is_64bit(enum tgsi_opcode_type type) +{ + if (type == TGSI_TYPE_DOUBLE) + return true; + return false; +} + enum tgsi_opcode_type tgsi_opcode_infer_src_type( uint opcode );