mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
shader: improve to structural conversion transform
fix memory leak in spv::dump properly print blocks add loop, continue and selection construct nodes add getParent() and print(...) to RegionLike
This commit is contained in:
parent
4b854f46a8
commit
67f3ece45a
29 changed files with 2172 additions and 1211 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <compare>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
namespace rx {
|
||||
|
|
@ -12,7 +13,7 @@ template <typename RT, typename... ArgsT> class FunctionRef<RT(ArgsT...)> {
|
|||
public:
|
||||
constexpr FunctionRef() = default;
|
||||
|
||||
template <typename T>
|
||||
template <typename T> requires (!std::is_same_v<std::remove_cvref_t<T>, FunctionRef>)
|
||||
constexpr FunctionRef(T &&object)
|
||||
requires requires(ArgsT... args) { RT(object(args...)); }
|
||||
: context(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue