recompiler: deduplication cleanup

This commit is contained in:
nmzik
2026-08-17 04:02:33 +02:00
parent 0f3540b1ff
commit e7c8bcb3a4
8 changed files with 42 additions and 57 deletions
+12
View File
@@ -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;