i965: Add support for pull constants to the new FS backend.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_eu.h
index 0e3ccfa46c8e3865f28936c466e7feb8b6a14e8c..15c2f23d6a5c340f5c21bea714f1eff40d86399a 100644 (file)
@@ -900,14 +900,19 @@ void brw_math2(struct brw_compile *p,
 void brw_oword_block_read(struct brw_compile *p,
                          struct brw_reg dest,
                          struct brw_reg mrf,
-                         int num_regs,
-                         GLuint offset);
+                         uint32_t offset,
+                         uint32_t bind_table_index);
 
-void brw_dp_READ_4( struct brw_compile *p,
-                    struct brw_reg dest,
-                    GLboolean relAddr,
-                    GLuint location,
-                    GLuint bind_table_index );
+void brw_oword_block_read_scratch(struct brw_compile *p,
+                                 struct brw_reg dest,
+                                 struct brw_reg mrf,
+                                 int num_regs,
+                                 GLuint offset);
+
+void brw_oword_block_write_scratch(struct brw_compile *p,
+                                  struct brw_reg mrf,
+                                  int num_regs,
+                                  GLuint offset);
 
 void brw_dp_READ_4_vs( struct brw_compile *p,
                        struct brw_reg dest,
@@ -920,11 +925,6 @@ void brw_dp_READ_4_vs_relative(struct brw_compile *p,
                               GLuint offset,
                               GLuint bind_table_index);
 
-void brw_oword_block_write(struct brw_compile *p,
-                          struct brw_reg mrf,
-                          int num_regs,
-                          GLuint offset);
-
 /* If/else/endif.  Works by manipulating the execution flags on each
  * channel.
  */