mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
rsx: Use non-owning container to ellide a derpy allocation with msvc
This commit is contained in:
parent
f2155b49e2
commit
1b8a69154f
4 changed files with 9 additions and 4 deletions
|
@ -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 ]]
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue