summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/compiler/brw_shader.h')
-rw-r--r--src/intel/compiler/brw_shader.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_shader.h b/src/intel/compiler/brw_shader.h
index 45ff19832b7..61b5cd6fad3 100644
--- a/src/intel/compiler/brw_shader.h
+++ b/src/intel/compiler/brw_shader.h
@@ -243,8 +243,7 @@ public:
virtual void invalidate_live_intervals() = 0;
};
-bool brw_texture_offset(int *offsets,
- unsigned num_components,
+bool brw_texture_offset(const nir_tex_instr *tex, unsigned src,
uint32_t *offset_bits);
#else