intel: Fix bit width of int literal in eu stall viewer

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15417
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41550>
This commit is contained in:
Omar Rashwan 2026-05-13 09:52:44 -07:00 committed by Marge Bot
parent 4463f5d3b0
commit da047e32a5

View file

@ -172,7 +172,7 @@ public:
float inst_hotness =
(double) std::get<3>(inst).types[stall_type_] /
(double) std::max(max_hits_.types[stall_type_], 1ul);
(double) std::max(max_hits_.types[stall_type_], 1ull);
ImU32 row_bg_color = ImGui::GetColorU32(ImVec4(inst_hotness, 0.0f, 0.0f, 0.5f));
ImGui::TableSetBgColor(ImGuiTableBgTarget_RowBg0, row_bg_color);