summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_shader.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2016-09-01 19:42:40 -0700
committerFrancisco Jerez <currojerez@riseup.net>2016-09-14 14:50:55 -0700
commitfcd9d1badcd97486eea5d87bf701a3b0a16b4ba9 (patch)
tree565d448d7c375a14a6ea4ffabb20ebcc69e6b8b4 /src/mesa/drivers/dri/i965/brw_shader.h
parent56bcb2230f4c396d3febc8d718dc838c0274e62a (diff)
downloadexternal_mesa3d-fcd9d1badcd97486eea5d87bf701a3b0a16b4ba9.zip
external_mesa3d-fcd9d1badcd97486eea5d87bf701a3b0a16b4ba9.tar.gz
external_mesa3d-fcd9d1badcd97486eea5d87bf701a3b0a16b4ba9.tar.bz2
i965/vec4: Drop backend_reg::in_range() in favor of regions_overlap().
This makes sure that overlap checks are done correctly throughout the back-end when the '*this' register starts before the register/size pair provided as argument, and is actually less annoying to use than in_range() at this point since regions_overlap() takes its size arguments in bytes. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index 0de0808..ba2404a 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -62,7 +62,6 @@ struct backend_reg : private brw_reg
bool is_negative_one() const;
bool is_null() const;
bool is_accumulator() const;
- bool in_range(const backend_reg &r, unsigned n) const;
/** Offset from the start of the (virtual) register in bytes. */
uint16_t offset;