mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 12:40:23 +01:00
nil: Add a PTE kind for Z32_FLOAT
This values was found by trial-and-error poking at the hardware until it stopped complaining. It's not clear if we need separate values for compressed vs. not. This appears to work on Turing regardless of what we set for SET_Z_COMPRESSION. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
cbb14e5483
commit
1410100ebe
1 changed files with 1 additions and 0 deletions
|
|
@ -177,6 +177,7 @@ tu102_choose_pte_kind(enum pipe_format format, bool compressed)
|
|||
else
|
||||
return 0x04; // NV_MMU_PTE_KIND_ZF32_X24S8
|
||||
case PIPE_FORMAT_Z32_FLOAT:
|
||||
return 0x06;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue