mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 00:00:12 +01:00
i965/fs: don't use ir->type in emit_texture_gen4()
We already have the type from the original destination. Signed-off-by: Connor Abbott <connor.abbott@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
This commit is contained in:
parent
eaadc43192
commit
4bffcb7e8e
1 changed files with 1 additions and 4 deletions
|
|
@ -1296,10 +1296,7 @@ fs_visitor::emit_texture_gen4(ir_texture *ir, fs_reg dst,
|
|||
* this weirdness around to the expected layout.
|
||||
*/
|
||||
orig_dst = dst;
|
||||
dst = fs_reg(GRF, virtual_grf_alloc(8),
|
||||
(brw->is_g4x ?
|
||||
brw_type_for_base_type(ir->type) :
|
||||
BRW_REGISTER_TYPE_F));
|
||||
dst = fs_reg(GRF, virtual_grf_alloc(8), orig_dst.type);
|
||||
}
|
||||
|
||||
enum opcode opcode;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue