mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-15 12:08:14 +02:00
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:
parent
4463f5d3b0
commit
da047e32a5
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue