mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 00:08:09 +02:00
anv: Fix address bit masking for indirect SBTs
Fixes:ce68824("anv: fix invalid masking of 48bit address") (cherry picked from commit8f7309d9a9) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>
This commit is contained in:
parent
088761575d
commit
b5ad25f7c8
2 changed files with 2 additions and 2 deletions
|
|
@ -5404,7 +5404,7 @@
|
|||
"description": "anv: Fix address bit masking for indirect SBTs",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "ce68824bdfb05379f0e682165588528a11b05214",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -998,7 +998,7 @@ mi_build_sbt_entry(struct mi_builder *b,
|
|||
{
|
||||
return mi_ior(b,
|
||||
mi_iand(b, mi_mem64(anv_address_from_u64(addr_field_addr)),
|
||||
mi_imm(BITFIELD64_BIT(49) - 1)),
|
||||
mi_imm(BITFIELD64_MASK(48))),
|
||||
mi_ishl_imm(b, mi_mem32(anv_address_from_u64(stride_field_addr)),
|
||||
48));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue