tgsi: use TGSI_INTERPOLATE_x arguments instead of zeros in ureg code
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_info.h
index e65f7ac3b7464bc6283941af145e59da011588d9..2c97bb62deea1edc8aed777cde2f7a43cc8fc4f1 100644 (file)
@@ -78,9 +78,8 @@ struct tgsi_opcode_info
    unsigned is_branch:1;
    unsigned pre_dedent:1;
    unsigned post_indent:1;
-   enum tgsi_output_mode output_mode:3;
-   const char *mnemonic;
-   uint opcode;
+   enum tgsi_output_mode output_mode:4;
+   unsigned opcode:8;
 };
 
 const struct tgsi_opcode_info *
@@ -90,7 +89,7 @@ const char *
 tgsi_get_opcode_name( uint opcode );
 
 const char *
-tgsi_get_processor_name( uint processor );
+tgsi_get_processor_name(enum pipe_shader_type processor);
 
 enum tgsi_opcode_type {
    TGSI_TYPE_UNTYPED, /* for MOV */
@@ -112,10 +111,10 @@ static inline bool tgsi_type_is_64bit(enum tgsi_opcode_type type)
 }
 
 enum tgsi_opcode_type
-tgsi_opcode_infer_src_type( uint opcode );
+tgsi_opcode_infer_src_type( uint opcode, uint src_idx );
 
 enum tgsi_opcode_type
-tgsi_opcode_infer_dst_type( uint opcode );
+tgsi_opcode_infer_dst_type( uint opcode, uint dst_idx );
 
 #if defined __cplusplus
 }