aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/intel/compiler/brw_shader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/compiler/brw_shader.h b/src/intel/compiler/brw_shader.h
index 984026f771d..03b09cce8e1 100644
--- a/src/intel/compiler/brw_shader.h
+++ b/src/intel/compiler/brw_shader.h
@@ -89,9 +89,6 @@ public:
virtual void invalidate_analysis(brw::analysis_dependency_class c);
};
-bool brw_texture_offset(const nir_tex_instr *tex, unsigned src,
- uint32_t *offset_bits);
-
#else
struct backend_shader;
#endif /* __cplusplus */
@@ -128,6 +125,9 @@ brw_get_scratch_size(int size)
return MAX2(1024, util_next_power_of_two(size));
}
+bool brw_texture_offset(const nir_tex_instr *tex, unsigned src,
+ uint32_t *offset_bits);
+
/**
* Scratch data used when compiling a GLSL geometry shader.
*/