diff options
author | Francisco Jerez <[email protected]> | 2013-12-08 04:59:11 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2014-02-19 16:27:25 +0100 |
commit | 6f56d5dc6047d0f926706e28fe1d809622c5b7e3 (patch) | |
tree | cf0e712110124800c510cbbf5f22633d2f508903 /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | 3b032732753b18c84482e30dd3675403eec7919f (diff) |
i965/fs: Remove fs_reg::retype.
There doesn't seem to be any reason for it to be a method, and it's
surprising that the expression 'reg.retype(t)' doesn't retype its
object but rather it creates a temporary with the new type. Use
'retype(reg, t)' instead.
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index 4845156d74b..5f9cb596539 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -83,7 +83,7 @@ public: bool is_null() const; bool is_valid_3src() const; bool is_contiguous() const; - fs_reg retype(uint32_t type); + fs_reg &apply_stride(unsigned stride); /** Register file: GRF, MRF, IMM. */ |