diff options
author | Connor Abbott <[email protected]> | 2014-08-01 18:05:37 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-10-15 17:05:19 -0700 |
commit | 12d9a8cd86ef758c153dbefcf46bb784c4982335 (patch) | |
tree | b976339655c3f710ae4f04c1c6ea35684138f2fb /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | cf94dfdb96287d1aa45851ba24762859f65a94ed (diff) |
i965/fs: Make swizzle_result() not use ir_texture.
Our new IR won't have ir_texture objects.
Signed-off-by: Connor Abbott <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index 2615e407d00..6c99d22817b 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -335,7 +335,8 @@ public: void visit(ir_end_primitive *); uint32_t gather_channel(ir_texture *ir, uint32_t sampler); - void swizzle_result(ir_texture *ir, fs_reg orig_val, uint32_t sampler); + void swizzle_result(ir_texture_opcode op, int dest_components, + fs_reg orig_val, uint32_t sampler); fs_inst *emit(fs_inst *inst); void emit(exec_list list); |