mesa: add/update comments in _mesa_copy_buffer_subdata()
[mesa.git] / src / mesa / drivers / dri / i965 / brw_shader.h
index 4c568a26caa59f36b07a0ba54e7b4cd470b5d986..3e6f579e37ddf2f012d0405c4c8be7ff66f0eec4 100644 (file)
  * IN THE SOFTWARE.
  */
 
+#include <stdint.h>
+#include "brw_defines.h"
+#include "glsl/ir.h"
+
+#pragma once
+
 int brw_type_for_base_type(const struct glsl_type *type);
 uint32_t brw_conditional_for_comparison(unsigned int op);
+uint32_t brw_math_function(enum opcode op);
+uint32_t brw_texture_offset(ir_constant *offset);