From 96ba55d8aab7b3fad1f9215d9083075332d07831 Mon Sep 17 00:00:00 2001 From: wangra Date: Tue, 31 Oct 2023 16:17:42 -0400 Subject: [PATCH] [mesa] Update freedreno python script to fix a warning of the generated header - we dont really care a2xx gpus, and the default value of ~0 is not correct anyways, so set the value to 0xffffffff to avoid the warning the prevent compiling the header --- third_party/mesa/src/freedreno/common/freedreno_devices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/mesa/src/freedreno/common/freedreno_devices.py b/third_party/mesa/src/freedreno/common/freedreno_devices.py index 153da4a32..fb6374699 100644 --- a/third_party/mesa/src/freedreno/common/freedreno_devices.py +++ b/third_party/mesa/src/freedreno/common/freedreno_devices.py @@ -204,7 +204,7 @@ def __str__(self): gmem_align_w = 32, gmem_align_h = 32, tile_align_w = 32, tile_align_h = 32, tile_max_w = 512, - tile_max_h = ~0, # TODO + tile_max_h = 0xffffffff, #GOOGLE, change this to 0xffffffff to fix a warning in generated header, original value: ~0, # TODO num_vsc_pipes = 8, cs_shared_mem_size = 0, num_sp_cores = 0, # TODO