mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
anv: Fix address bit masking for indirect SBTs
Fixes:ce68824("anv: fix invalid masking of 48bit address") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41004> (cherry picked from commit8f7309d9a9)
This commit is contained in:
parent
29a9eaf08b
commit
cda0b0c9f8
2 changed files with 2 additions and 2 deletions
|
|
@ -2134,7 +2134,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
|
||||
|
|
|
|||
|
|
@ -1037,7 +1037,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