Searched refs:fmt_idx (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
D | printf.cpp | 52 cl_uint fmt_idx = *(cl_uint*)&buffer[buf_pos]; in print_formatted() local 53 assert(fmt_idx > 0); in print_formatted() 54 binary::printf_info fmt = formatters[fmt_idx-1]; in print_formatted()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_opencl.c | 834 nir_ssa_def *fmt_idx = nir_imm_int(&b->nb, info_idx); in handle_printf() local 835 nir_ssa_def *ret = nir_printf(&b->nb, fmt_idx, &deref_var->dest.ssa); in handle_printf()
|
/third_party/flutter/skia/third_party/externals/imgui/ |
D | imgui_widgets.cpp | 3888 const int fmt_idx = hide_prefix ? 0 : (flags & ImGuiColorEditFlags_HSV) ? 2 : 1; in ColorEdit4() local 3898 …nged | DragFloat(ids[n], &f[n], 1.0f/255.0f, 0.0f, hdr ? 0.0f : 1.0f, fmt_table_float[fmt_idx][n]); in ColorEdit4() 3900 … value_changed |= DragInt(ids[n], &i[n], 1.0f, 0, hdr ? 0 : 255, fmt_table_int[fmt_idx][n]); in ColorEdit4()
|
/third_party/mesa3d/src/imgui/ |
D | imgui_widgets.cpp | 3895 const int fmt_idx = hide_prefix ? 0 : (flags & ImGuiColorEditFlags_HSV) ? 2 : 1; in ColorEdit4() local 3906 …ged |= DragFloat(ids[n], &f[n], 1.0f/255.0f, 0.0f, hdr ? 0.0f : 1.0f, fmt_table_float[fmt_idx][n]); in ColorEdit4() 3911 … value_changed |= DragInt(ids[n], &i[n], 1.0f, 0, hdr ? 0 : 255, fmt_table_int[fmt_idx][n]); in ColorEdit4()
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui_widgets.cpp | 4899 const int fmt_idx = hide_prefix ? 0 : (flags & ImGuiColorEditFlags_DisplayHSV) ? 2 : 1; in ColorEdit4() local 4910 …d |= DragFloat(ids[n], &f[n], 1.0f / 255.0f, 0.0f, hdr ? 0.0f : 1.0f, fmt_table_float[fmt_idx][n]); in ColorEdit4() 4915 … value_changed |= DragInt(ids[n], &i[n], 1.0f, 0, hdr ? 0 : 255, fmt_table_int[fmt_idx][n]); in ColorEdit4()
|