Skip to content

freedreno/log: fix build error

Rob Clark requested to merge robclark/mesa:wip/issue2713 into master

It seems some versions of gcc are less clever about const initializers:

../src/gallium/drivers/freedreno/freedreno_log.c:58:33: error: initializer element is not constant
 const unsigned msgs_per_chunk = bo_size / sizeof(uint64_t);
                                 ^~~~~~~

Fixes #2713 (closed)

Merge request reports