Module: Mesa Branch: master Commit: 1fdc75fde418a231a91ef0e68ea92d54bf594ea1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fdc75fde418a231a91ef0e68ea92d54bf594ea1
Author: Matt Turner <[email protected]> Date: Wed Nov 12 11:03:44 2014 -0800 i965/fs: Remove unused apply_stride(). Reviewed-by: Anuj Phogat <[email protected]> --- src/mesa/drivers/dri/i965/brw_fs.cpp | 10 ---------- src/mesa/drivers/dri/i965/brw_fs.h | 1 - 2 files changed, 11 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index ef6e6e7..4804b7d 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 f778c26..c4d8323 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); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
