intel/compiler, anv: Delete cs_prog_data->slm_size
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 14 Oct 2020 21:52:37 +0000 (14:52 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Oct 2020 23:13:41 +0000 (23:13 +0000)
commit341f5bffb78d05e4c3d16621f9d5de05f5149be3
tree94283512f0a2cc4dad07667d6ba7140a1a8bdd79
parente881290979d3ef0d26cb772e7aaf4b59a512001c
intel/compiler, anv: Delete cs_prog_data->slm_size

cs_prog_data->slm_size is basically redundant with
prog_data->total_shared, which is the field that we actually use for
controlling the shared local memory size in all drivers.  We were
still using it in one place for VK_EXT_pipeline_executable_properties,
but we should just fix that and delete the field.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7152>
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_fs.cpp
src/intel/vulkan/anv_pipeline.c