mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
vk: Fix build using new simple_array guard-rails
This commit is contained in:
parent
6e11978638
commit
d6a36f4b60
|
|
@ -69,8 +69,9 @@ namespace vk
|
||||||
|
|
||||||
void on_query_pool_released(std::unique_ptr<vk::query_pool>& pool);
|
void on_query_pool_released(std::unique_ptr<vk::query_pool>& pool);
|
||||||
|
|
||||||
template<template<class> class _List>
|
template<typename T>
|
||||||
void free_queries(vk::command_buffer& cmd, _List<u32>& list)
|
requires std::ranges::range<T> && std::same_as<std::ranges::range_value_t<T>, u32> // List of u32
|
||||||
|
void free_queries(vk::command_buffer& cmd, T& list)
|
||||||
{
|
{
|
||||||
for (const auto index : list)
|
for (const auto index : list)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue