Skip to content

Commit

Permalink
[mesa] Update freedreno python script to fix a warning of the generat…
Browse files Browse the repository at this point in the history
…ed 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
  • Loading branch information
wangra-google committed Oct 31, 2023
1 parent 699e14e commit 96ba55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/mesa/src/freedreno/common/freedreno_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96ba55d

Please sign in to comment.