rsx: Use non-owning container to ellide a derpy allocation with msvc

This commit is contained in:
kd-11 2023-02-27 18:33:57 +03:00 committed by kd-11
parent f2155b49e2
commit 1b8a69154f
4 changed files with 9 additions and 4 deletions

View file

@ -1077,7 +1077,7 @@ namespace rsx
* Fill buffer with vertex program constants.
* Buffer must be at least 512 float4 wide.
*/
void thread::fill_vertex_program_constants_data(void* buffer, const std::vector<u16>& reloc_table)
void thread::fill_vertex_program_constants_data(void* buffer, const std::span<const u16>& reloc_table)
{
if (!reloc_table.empty()) [[ likely ]]
{