mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
i965/fs: Use the scale helper in surface_builder
As requested by Curro
This commit is contained in:
parent
068935844c
commit
15895bf777
1 changed files with 2 additions and 2 deletions
|
|
@ -725,7 +725,7 @@ namespace {
|
|||
*/
|
||||
if (is_signed && widths[c] < 32)
|
||||
bld.AND(offset(dst, bld, c), offset(dst, bld, c),
|
||||
brw_imm_d((1 << widths[c]) - 1));
|
||||
brw_imm_d(scale(widths[c])));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -804,7 +804,7 @@ namespace {
|
|||
*/
|
||||
if (is_signed && widths[c] < 32)
|
||||
bld.AND(offset(dst, bld, c), offset(dst, bld, c),
|
||||
brw_imm_d((1 << widths[c]) - 1));
|
||||
brw_imm_d(scale(widths[c])));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue