mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
nil: Use the right PTE kind for Z32 pre-Turing
This got lost in the Rust rewrite. Fixes:426553d61d("nil: Re-implement nil_image in Rust") Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24795> (cherry picked from commit73c87dbc0c)
This commit is contained in:
parent
1adce876ce
commit
bed6fba7c8
2 changed files with 8 additions and 1 deletions
|
|
@ -1574,7 +1574,7 @@
|
|||
"description": "nil: Use the right PTE kind for Z32 pre-Turing",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "426553d61d164a04ecf540d933f72e16dcbf9e33",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -578,6 +578,13 @@ impl Image {
|
|||
NV_MMU_PTE_KIND_S8Z24
|
||||
}
|
||||
}
|
||||
PIPE_FORMAT_Z32_FLOAT => {
|
||||
if compressed {
|
||||
NV_MMU_PTE_KIND_ZF32_2CZ + ms
|
||||
} else {
|
||||
NV_MMU_PTE_KIND_ZF32
|
||||
}
|
||||
}
|
||||
PIPE_FORMAT_X32_S8X24_UINT | PIPE_FORMAT_Z32_FLOAT_S8X24_UINT => {
|
||||
if compressed {
|
||||
NV_MMU_PTE_KIND_ZF32_X24S8_2CSZV + ms
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue