mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-15 18:38:05 +02:00
intel: define type for std::max in eu stall viewer
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41550>
This commit is contained in:
parent
da047e32a5
commit
24669f2bbb
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_], 1ull);
|
||||
(double) std::max<uint64_t>(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