mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 15:40:11 +01:00
i965/vec4: Make with_writemask() non-static.
This will allow it to be shared between brw_vec4_visitor.cpp and brw_vec4_vs_visitor.cpp (which will be created in the next patch). Acked-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
8f9a339c10
commit
e241e7c979
2 changed files with 4 additions and 1 deletions
|
|
@ -183,6 +183,9 @@ public:
|
|||
src_reg *reladdr;
|
||||
};
|
||||
|
||||
dst_reg
|
||||
with_writemask(dst_reg const &r, int mask);
|
||||
|
||||
class vec4_instruction : public backend_instruction {
|
||||
public:
|
||||
/* Callers of this ralloc-based new need not call delete. It's
|
||||
|
|
|
|||
|
|
@ -908,7 +908,7 @@ vec4_visitor::emit_if_gen6(ir_if *ir)
|
|||
emit(IF(this->result, src_reg(0), BRW_CONDITIONAL_NZ));
|
||||
}
|
||||
|
||||
static dst_reg
|
||||
dst_reg
|
||||
with_writemask(dst_reg const & r, int mask)
|
||||
{
|
||||
dst_reg result = r;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue