mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-21 03:16:54 +02:00
recompiler: deduplication cleanup
This commit is contained in:
@@ -10,10 +10,22 @@
|
||||
#include <memory>
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
namespace Libs::Graphics {
|
||||
|
||||
namespace ShaderError {
|
||||
|
||||
[[nodiscard]] inline bool Fail(std::string* error, std::string_view message) {
|
||||
if (error != nullptr) {
|
||||
error->assign(message.data(), message.size());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace ShaderError
|
||||
|
||||
namespace HW {
|
||||
struct VertexShaderInfo;
|
||||
struct PixelShaderInfo;
|
||||
|
||||
Reference in New Issue
Block a user