diff options
author | Connor Abbott <[email protected]> | 2014-08-15 10:17:26 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:18:58 -0800 |
commit | 9afc566e2db974daf097b5816adc26f8d633b080 (patch) | |
tree | 7d35c3534c32a22189520de490ea8953de72e2e3 /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | 616a48ebc6b858cf15ade15238f1a549b701ebc3 (diff) |
i965/fs: Don't pass through the coordinate type
All we really need is the number of components.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index d488c621566..d8ae31e7e86 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -484,7 +484,7 @@ public: void emit_interpolation_setup_gen4(); void emit_interpolation_setup_gen6(); void compute_sample_position(fs_reg dst, fs_reg int_sample_pos); - fs_reg rescale_texcoord(fs_reg coordinate, const glsl_type *coord_type, + fs_reg rescale_texcoord(fs_reg coordinate, int coord_components, bool is_rect, uint32_t sampler, int texunit); fs_inst *emit_texture_gen4(ir_texture_opcode op, fs_reg dst, fs_reg coordinate, int coord_components, @@ -505,7 +505,7 @@ public: fs_reg offset_value); void emit_texture(ir_texture_opcode op, const glsl_type *dest_type, - fs_reg coordinate, const struct glsl_type *coord_type, + fs_reg coordinate, int components, fs_reg shadow_c, fs_reg lod, fs_reg dpdy, int grad_components, fs_reg sample_index, |