nil: Don't use Fermi bits in the Maxwell null descriptor

Fixes: c8d8e2249a ("nil: Add a helper for populating the null descriptor")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35475>
(cherry picked from commit bbc6f50963)
This commit is contained in:
Faith Ekstrand 2025-06-13 15:42:28 -04:00 committed by Eric Engestrom
parent a2f5cd915c
commit caeee413a3
2 changed files with 4 additions and 4 deletions

View file

@ -1624,7 +1624,7 @@
"description": "nil: Don't use Fermi bits in the Maxwell null descriptor",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "c8d8e2249a73ba455b34d3b8b67eb72cfc5fb554",
"notes": null

View file

@ -692,10 +692,10 @@ fn nvb097_fill_null_tic(zero_page_address: u64, desc_out: &mut [u32; 8]) {
set_enum!(th, clb097, TEXHEAD_BL_TEXTURE_TYPE, TWO_D_ARRAY);
set_enum!(th, clb097, TEXHEAD_BL_BORDER_SIZE, BORDER_SAMPLER_COLOR);
th.set_field(cl9097::TEXHEADV2_NORMALIZED_COORDS, true);
th.set_field(clb097::TEXHEAD_BL_NORMALIZED_COORDS, true);
th.set_field(cl9097::TEXHEADV2_RES_VIEW_MIN_MIP_LEVEL, 1_u8);
th.set_field(cl9097::TEXHEADV2_RES_VIEW_MAX_MIP_LEVEL, 0_u8);
th.set_field(clb097::TEXHEAD_BL_RES_VIEW_MIN_MIP_LEVEL, 1_u8);
th.set_field(clb097::TEXHEAD_BL_RES_VIEW_MAX_MIP_LEVEL, 0_u8);
// This is copied from the D3D12 driver. I have no idea what these bits do
// or if they even do anything.