ac,radeonsi: rework how scratch_waves is used and move it to ac_gpu_info.c
authorMarek Olšák <marek.olsak@amd.com>
Sat, 2 Apr 2022 04:45:24 +0000 (00:45 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sat, 23 Apr 2022 01:45:17 +0000 (01:45 +0000)
commit1bf39b1f9d115d69aa7b192beb7cde5eea31dffe
treea8c23408883ea2bf94be7998e58b672a00d72d27
parent159b28ad36b9831fd84b144988e7addd30c728b1
ac,radeonsi: rework how scratch_waves is used and move it to ac_gpu_info.c

The addition of the "compute" parameter is for a future change.

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15966>
src/amd/common/ac_gpu_info.c
src/amd/common/ac_gpu_info.h
src/amd/common/ac_shader_util.c
src/amd/common/ac_shader_util.h
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state_shaders.cpp