ac/nir: remove type and num_channels args from ac_build_buffer_store_common
authorMarek Olšák <marek.olsak@amd.com>
Mon, 4 May 2020 14:55:08 +0000 (10:55 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 2 Jun 2020 20:29:25 +0000 (16:29 -0400)
commitb819ba949b4f5aeef6f6b200247f9ec801774a54
treed6854f67f49420c5960b2f5bc85cf87381ed3381
parentb98df7bf502118c194a3e8c77454355dbb086e49
ac/nir: remove type and num_channels args from ac_build_buffer_store_common

They were only used for type overloading where we can just use
the type of data.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5003>
src/amd/llvm/ac_llvm_build.c
src/amd/llvm/ac_llvm_build.h
src/amd/llvm/ac_nir_to_llvm.c
src/gallium/drivers/radeonsi/si_compute_prim_discard.c