diff options
author | Eric Anholt <eric@anholt.net> | 2010-10-08 15:11:42 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-10-11 12:07:33 -0700 |
commit | 06fd639c519214b6ebcbf29127b6d9ed429f8641 (patch) | |
tree | fa33bbe80313bdc3421de3cb64d6969594e1762f /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | 0cd6cea8a3e9339fc69f9de0da6b40e4f9d5f4fe (diff) |
i965: Give the FB write and texture opcodes the info on base MRF, like math.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index fb4bab763c..0d4c078fda 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -208,6 +208,13 @@ public: this->opcode = opcode; } + fs_inst(int opcode, fs_reg dst) + { + init(); + this->opcode = opcode; + this->dst = dst; + } + fs_inst(int opcode, fs_reg dst, fs_reg src0) { init(); @@ -338,7 +345,7 @@ public: void generate_fb_write(fs_inst *inst); void generate_linterp(fs_inst *inst, struct brw_reg dst, struct brw_reg *src); - void generate_tex(fs_inst *inst, struct brw_reg dst, struct brw_reg src); + void generate_tex(fs_inst *inst, struct brw_reg dst); void generate_math(fs_inst *inst, struct brw_reg dst, struct brw_reg *src); void generate_discard_not(fs_inst *inst, struct brw_reg temp); void generate_discard_and(fs_inst *inst, struct brw_reg temp); |