radeonsi: dump shaders after si_shader_binary_upload to fix printed LDS stat
authorMarek Olšák <marek.olsak@amd.com>
Mon, 11 Apr 2022 01:12:37 +0000 (21:12 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 22 Apr 2022 20:52:26 +0000 (20:52 +0000)
commitef52d803a933d7bc20b852bb31e41f6323f1b68e
treeff1156fe4ee43cdd1303986f66cb3beea90ee221
parent9d3357141e2996c672a467e6c247d32517f70630
radeonsi: dump shaders after si_shader_binary_upload to fix printed LDS stat

lds_size is set by si_shader_binary_upload, so it always printed zero.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15965>
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_llvm_gs.c