mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-12-27 13:34:17 +01:00
commit
5687bc6e10
2
externals/sirit
vendored
2
externals/sirit
vendored
@ -1 +1 @@
|
|||||||
Subproject commit a39596358a3a5488c06554c0c15184a6af71e433
|
Subproject commit b8f133bf631ace5a613bbd7e8329300358cacbd2
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
namespace Settings {
|
namespace Settings {
|
||||||
|
|
||||||
Values values = {};
|
Values values;
|
||||||
static bool configuring_global = true;
|
static bool configuring_global = true;
|
||||||
|
|
||||||
std::string GetTimeZoneString() {
|
std::string GetTimeZoneString() {
|
||||||
|
@ -43,7 +43,7 @@ static void ValidateUses(const IR::Program& program) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (const auto [inst, uses] : actual_uses) {
|
for (const auto& [inst, uses] : actual_uses) {
|
||||||
if (inst->UseCount() != uses) {
|
if (inst->UseCount() != uses) {
|
||||||
throw LogicError("Invalid uses in block: {}", IR::DumpProgram(program));
|
throw LogicError("Invalid uses in block: {}", IR::DumpProgram(program));
|
||||||
}
|
}
|
||||||
|
@ -188,11 +188,11 @@ void GenericEnvironment::Serialize(std::ofstream& file) const {
|
|||||||
.write(reinterpret_cast<const char*>(&cached_highest), sizeof(cached_highest))
|
.write(reinterpret_cast<const char*>(&cached_highest), sizeof(cached_highest))
|
||||||
.write(reinterpret_cast<const char*>(&stage), sizeof(stage))
|
.write(reinterpret_cast<const char*>(&stage), sizeof(stage))
|
||||||
.write(reinterpret_cast<const char*>(code.data()), code_size);
|
.write(reinterpret_cast<const char*>(code.data()), code_size);
|
||||||
for (const auto [key, type] : texture_types) {
|
for (const auto& [key, type] : texture_types) {
|
||||||
file.write(reinterpret_cast<const char*>(&key), sizeof(key))
|
file.write(reinterpret_cast<const char*>(&key), sizeof(key))
|
||||||
.write(reinterpret_cast<const char*>(&type), sizeof(type));
|
.write(reinterpret_cast<const char*>(&type), sizeof(type));
|
||||||
}
|
}
|
||||||
for (const auto [key, type] : cbuf_values) {
|
for (const auto& [key, type] : cbuf_values) {
|
||||||
file.write(reinterpret_cast<const char*>(&key), sizeof(key))
|
file.write(reinterpret_cast<const char*>(&key), sizeof(key))
|
||||||
.write(reinterpret_cast<const char*>(&type), sizeof(type));
|
.write(reinterpret_cast<const char*>(&type), sizeof(type));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user