r600: add support for emitting RAT instructions to the assembler.
[mesa.git] / src / gallium / drivers / r600 / r600_asm.h
index 7a11d454c4a8d93dc37f859c3722eaab3001b9bb..d7cb64f0b7d8bb93573fdeb0611be74826daf5ef 100644 (file)
@@ -157,6 +157,12 @@ struct r600_bytecode_output {
        unsigned                        index_gpr;
 };
 
+struct r600_bytecode_rat {
+       unsigned                        id;
+       unsigned                        inst;
+       unsigned                        index_mode;
+};
+
 struct r600_bytecode_kcache {
        unsigned                        bank;
        unsigned                        mode;
@@ -187,6 +193,7 @@ struct r600_bytecode_cf {
        struct list_head                vtx;
        struct list_head                gds;
        struct r600_bytecode_output             output;
+       struct r600_bytecode_rat                rat;
        struct r600_bytecode_alu                *curr_bs_head;
        struct r600_bytecode_alu                *prev_bs_head;
        struct r600_bytecode_alu                *prev2_bs_head;