aco/gfx12: fix printing of temporal hints
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36406>
This commit is contained in:
@@ -253,7 +253,7 @@ print_cache_flags(enum amd_gfx_level gfx_level, const T& instr, FILE* output)
|
||||
fprintf(output, " non_temporal");
|
||||
if (instr.cache.gfx12.temporal_hint & gfx12_atomic_accum_deferred_scope)
|
||||
fprintf(output, " accum_deferred_scope");
|
||||
} else if (instr.definitions.empty()) {
|
||||
} else if (!instr.definitions.empty()) {
|
||||
switch (instr.cache.gfx12.temporal_hint) {
|
||||
case gfx12_load_regular_temporal: break;
|
||||
case gfx12_load_non_temporal: fprintf(output, " non_temporal"); break;
|
||||
|
||||
Reference in New Issue
Block a user