aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-11-12 11:03:44 -0800
committerMatt Turner <[email protected]>2014-11-21 10:26:44 -0800
commit1fdc75fde418a231a91ef0e68ea92d54bf594ea1 (patch)
tree7d7f10b0f191d4740589eae836c4fdb1a7b74235 /src
parent279c1c80b678df188104b22e2076e4efe60e3193 (diff)
i965/fs: Remove unused apply_stride().
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp10
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index ef6e6e7467a..4804b7dff71 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -608,16 +608,6 @@ fs_reg::equals(const fs_reg &r) const
}
fs_reg &
-fs_reg::apply_stride(unsigned stride)
-{
- assert((this->stride * stride) <= 4 &&
- (is_power_of_two(stride) || stride == 0) &&
- file != HW_REG && file != IMM);
- this->stride *= stride;
- return *this;
-}
-
-fs_reg &
fs_reg::set_smear(unsigned subreg)
{
assert(file != HW_REG && file != IMM);
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index f778c26939f..c4d8323f768 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -86,7 +86,6 @@ public:
bool is_valid_3src() const;
bool is_contiguous() const;
- fs_reg &apply_stride(unsigned stride);
/** Smear a channel of the reg to all channels. */
fs_reg &set_smear(unsigned subreg);