aco: Use bytes() instead of size() in emit_wqm
This should get most of the cases that would fail validation. Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24906>
This commit is contained in:
parent
1ddf8378cb
commit
9af91edda9
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ emit_wqm(Builder& bld, Temp src, Temp dst = Temp(0, s1), bool program_needs_wqm
|
|||
dst = bld.tmp(src.regClass());
|
||||
}
|
||||
|
||||
assert(src.size() == dst.size());
|
||||
assert(src.bytes() == dst.bytes());
|
||||
bld.pseudo(aco_opcode::p_wqm, Definition(dst), src);
|
||||
bld.program->needs_wqm |= program_needs_wqm;
|
||||
return dst;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue