mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01: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>
This commit is contained in:
parent
71d1fa129a
commit
73c87dbc0c
1 changed files with 7 additions and 0 deletions
|
|
@ -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