mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-18 23:07:07 -05:00
Merge pull request #6306 from MarcZX10/codex/qualify-srt-memory-flags
fix(shader): qualify SRT memory flags template
This commit is contained in:
1 file changed
+1
-1
@@ -183,7 +183,7 @@ bool evaluateRuntimeSources(const IrResourcePlan& program, std::span<const std::
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (const auto& [sourceIndex, read] : zeroedSources) {
|
for (const auto& [sourceIndex, read] : zeroedSources) {
|
||||||
const auto pc = read.read->Flags<MemoryFlags>().pc;
|
const auto pc = read.read->template Flags<MemoryFlags>().pc;
|
||||||
if (std::none_of(poisoned.begin(), poisoned.end(), [&](const SrtReadPoison& entry) { return entry.pc == pc && entry.address == read.address; })) {
|
if (std::none_of(poisoned.begin(), poisoned.end(), [&](const SrtReadPoison& entry) { return entry.pc == pc && entry.address == read.address; })) {
|
||||||
char address[64];
|
char address[64];
|
||||||
std::snprintf(address, sizeof(address), "0x%llx at pc 0x%x", static_cast<unsigned long long>(read.address), pc);
|
std::snprintf(address, sizeof(address), "0x%llx at pc 0x%x", static_cast<unsigned long long>(read.address), pc);
|
||||||
|
|||||||
Reference in new issue
Block a user