~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/intel/compiler/brw_shader.h

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
 
83
83
   brw::simple_allocator alloc;
84
84
 
85
 
   virtual void dump_instruction(const backend_instruction *inst) const = 0;
86
 
   virtual void dump_instruction(const backend_instruction *inst, FILE *file) const = 0;
87
 
   virtual void dump_instructions() const;
88
 
   virtual void dump_instructions(const char *name) const;
 
85
   virtual void dump_instruction_to_file(const backend_instruction *inst, FILE *file) const = 0;
 
86
   virtual void dump_instructions_to_file(FILE *file) const;
 
87
 
 
88
   /* Convenience functions based on the above. */
 
89
   void dump_instruction(const backend_instruction *inst, FILE *file = stderr) const {
 
90
      dump_instruction_to_file(inst, file);
 
91
   }
 
92
   void dump_instructions(const char *name = nullptr) const;
89
93
 
90
94
   void calculate_cfg();
91
95
 
97
101
#endif /* __cplusplus */
98
102
 
99
103
enum brw_reg_type brw_type_for_base_type(const struct glsl_type *type);
100
 
enum brw_conditional_mod brw_conditional_for_comparison(unsigned int op);
101
104
uint32_t brw_math_function(enum opcode op);
102
105
const char *brw_instruction_name(const struct brw_isa_info *isa,
103
106
                                 enum opcode op);