HomeSort by: relevance | last modified time | path
    Searched refs:Step (Results 1 - 22 of 22) sorted by relevancy

  /xsrc/external/mit/mesa-demos/dist/src/tests/
exactrast.c 35 static float Step = 0.125;
151 Ytrans += Step;
154 Ytrans -= Step;
157 Xtrans -= Step;
160 Xtrans += Step;
178 printf(" up/down/left/right - translate by %f\n", Step);
calibrate_rast.c 31 static float Step = 1.0 / 16.0;
61 for (y = -1.0; y <= 1.0; y += Step) {
62 for (x = -1.0; x <= 1.0; x += Step) {
90 if (xmax - xmin != 1.0 - Step) {
93 if (ymax - ymin != 1.0 - Step) {
129 for (y = -1.0; y <= 1.0; y += Step) {
153 if (ymax - ymin != 1.0 - Step) {
168 for (x = -1.0; x <= 1.0; x += Step) {
205 if (xmax_left - xmin_left > 1.0 - Step) {
208 if (xmax_right - xmin_right > 1.0 - Step) {
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
utils.h 65 template <int Begin, int End, int Step = 1>
69 INLINE static void step(Lambda& func) function in struct:UnrollerL
72 UnrollerL<Begin + Step, End, Step>::step(func);
76 template <int End, int Step>
77 struct UnrollerL<End, End, Step>
80 static void step(Lambda& func) function in struct:UnrollerL
86 template <int Begin, int End, int Step = 1, int Mask = 0x7f>
90 INLINE static void step(Lambda& func function in struct:UnrollerLMask
104 static void step(Lambda& func) function in struct:UnrollerLMask
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/
xaaFillPoly.c 56 #define Setup(c,x,vertex,dx,dy,e,sign,step,DX) {\
60 step = 0; \
66 step = dx / dy; \
76 step = - (dx / dy); \
85 #define Step(x,dx,dy,e,sign,step) {\
86 x += step; \
94 #define FixError(x, dx, dy, e, sign, step, h) { \
96 x += (h) * step; \
265 Step(x1,dx1,dy1,e1,sign1,step1
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
OpenCL.std.h 172 Step = 101,
vtn_opencl.c 174 case Step:
308 case Step:
  /xsrc/external/mit/xf86-video-mach64/dist/src/
atiprint.c 149 int Step;
200 Step = ATIIOPort(IOPortTag(0x01U, 0x01U)) - pATI->CPIOBase;
201 for (Index = pATI->CPIOBase; Index <= Limit; Index += Step)
203 if (!(((Index - pATI->CPIOBase) / Step) & 0x03U))
  /xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
OpenCL.std.h 175 Step = 101,
vtn_opencl.c 310 REMAP(Step, "step"),
775 /* Step 1. extract the format string */
796 /* Step 2, build an ad-hoc struct type out of the args */
813 /* Step 3, create a variable of that type and populate its fields */
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/lib/
gk110.asm 96 // The core of RCP and RSQ implementation is Newton-Raphson step, which is
101 // Step 1: classify input according to exponent and value, and calculate
147 // Step 2: Before the real calculation goes on, renormalize the values to
155 // Step 3: Convert new value to float (no overflow will occur due to step
156 // 2), calculate rcp and do newton-raphson step once
162 // Step 4: convert result $r0 back to double, do newton-raphson steps
170 // The following code uses 2 FMAs for each step, and it will basically
183 // Step 5: Exponent recovery and final processing
188 // 1) The renormalization in step 2. The delta is
    [all...]
gm107.asm 109 // The core of RCP and RSQ implementation is Newton-Raphson step, which is
114 // Step 1: classify input according to exponent and value, and calculate
170 // Step 2: Before the real calculation goes on, renormalize the values to
178 // Step 3: Convert new value to float (no overflow will occur due to step
179 // 2), calculate rcp and do newton-raphson step once
187 // Step 4: convert result $r0 back to double, do newton-raphson steps
195 // The following code uses 2 FMAs for each step, and it will basically
210 // Step 5: Exponent recovery and final processing
215 // 1) The renormalization in step 2. The delta is
    [all...]
gk104.asm 559 // Step 1: classify input according to exponent and value, and calculate
605 // Step 2: Before the real calculation goes on, renormalize the values to
613 // Step 3: Convert new value to float (no overflow will occur due to step
614 // 2), calculate rcp and do newton-raphson step once
620 // Step 4: convert result $r0 back to double, do newton-raphson steps
628 // The following code uses 2 FMAs for each step, and it will basically
641 // Step 5: Exponent recovery and final processing
646 // 1) The renormalization in step 2. The delta is:
662 // (same logic as in step 1
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/lib/
gk110.asm 96 // The core of RCP and RSQ implementation is Newton-Raphson step, which is
101 // Step 1: classify input according to exponent and value, and calculate
147 // Step 2: Before the real calculation goes on, renormalize the values to
155 // Step 3: Convert new value to float (no overflow will occur due to step
156 // 2), calculate rcp and do newton-raphson step once
162 // Step 4: convert result $r0 back to double, do newton-raphson steps
170 // The following code uses 2 FMAs for each step, and it will basically
183 // Step 5: Exponent recovery and final processing
188 // 1) The renormalization in step 2. The delta is
    [all...]
gm107.asm 109 // The core of RCP and RSQ implementation is Newton-Raphson step, which is
114 // Step 1: classify input according to exponent and value, and calculate
170 // Step 2: Before the real calculation goes on, renormalize the values to
178 // Step 3: Convert new value to float (no overflow will occur due to step
179 // 2), calculate rcp and do newton-raphson step once
187 // Step 4: convert result $r0 back to double, do newton-raphson steps
195 // The following code uses 2 FMAs for each step, and it will basically
210 // Step 5: Exponent recovery and final processing
215 // 1) The renormalization in step 2. The delta is
    [all...]
gk104.asm 559 // Step 1: classify input according to exponent and value, and calculate
605 // Step 2: Before the real calculation goes on, renormalize the values to
613 // Step 3: Convert new value to float (no overflow will occur due to step
614 // 2), calculate rcp and do newton-raphson step once
620 // Step 4: convert result $r0 back to double, do newton-raphson steps
628 // The following code uses 2 FMAs for each step, and it will basically
641 // Step 5: Exponent recovery and final processing
646 // 1) The renormalization in step 2. The delta is:
662 // (same logic as in step 1
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/imgui/
imgui_demo.cpp 1250 ImGui::Checkbox("Show step buttons", &inputs_step);
2418 while (clipper.Step())
3236 // while (clipper.Step())
3551 while (clipper.Step())
3773 while (clipper.Step())
3822 static void Step(ImGuiSizeCallbackData* data) { float step = (float)(int)(intptr_t)data->UserData; data->DesiredSize = ImVec2((int)(data->DesiredSize.x / step + 0.5f) * step, (int)(data->DesiredSize.y / step + 0.5f) * step); local
    [all...]
imgui.h 449 IMGUI_API bool InputFloat(const char* label, float* v, float step = 0.0f, float step_fast = 0.0f, const char* format = "%.3f", ImGuiInputTextFlags flags = 0);
453 IMGUI_API bool InputInt(const char* label, int* v, int step = 1, int step_fast = 100, ImGuiInputTextFlags flags = 0);
457 IMGUI_API bool InputDouble(const char* label, double* v, double step = 0.0, double step_fast = 0.0, const char* format = "%.6f", ImGuiInputTextFlags flags = 0);
458 IMGUI_API bool InputScalar(const char* label, ImGuiDataType data_type, void* v, const void* step = NULL, const void* step_fast = NULL, const char* format = NULL, ImGuiInputTextFlags flags = 0);
459 IMGUI_API bool InputScalarN(const char* label, ImGuiDataType data_type, void* v, int components, const void* step = NULL, const void* step_fast = NULL, const char* format = NULL, ImGuiInputTextFlags flags = 0);
1493 IMGUI_API bool InputFloat(const char* label, float* v, float step, float step_fast, int decimal_precision, ImGuiInputTextFlags flags = 0); // Use the 'const char* format' version instead of 'decimal_precision'!
1654 // while (clipper.Step())
1657 // - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor).
1658 // - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, (…)
    [all...]
imgui.cpp 367 - 2019/02/14 (1.68) - made it illegal/assert when io.DisplayTime == 0.0f (with an exception for the first frame). If for some reason your time step calculation gives you a zero value, replace it with a dummy small value!
2190 // The clipper should probably have a 4th step to display the last item in a regular manner.
2194 window->DC.PrevLineSize.y = (line_height - GImGui->Style.ItemSpacing.y); // If we end up needing more accurate data (to e.g. use SameLine) we may as well make the clipper have a fourth step to let user process and display the last item in their list.
2201 // FIXME-LEGACY: Ideally we should remove the Begin/End functions but they are part of the legacy API we still support. This is why some of the code in Step() calling Begin() and reassign some fields, spaghetti style.
2229 bool ImGuiListClipper::Step()
2236 if (StepNo == 0) // Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height.
2244 if (StepNo == 1) // Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element.
2255 if (StepNo == 2) // Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user still call Step(). Does nothing and switch to Step 3
    [all...]
imgui_widgets.cpp 2592 // FIXME: This is still used by some navigation code path to infer a minimum tweak step, but we should aim to rework widgets so it isn't needed.
2644 bool ImGui::InputScalar(const char* label, ImGuiDataType data_type, void* data_ptr, const void* step, const void* step_fast, const char* format, ImGuiInputTextFlags flags)
2665 if (step != NULL)
2676 // Step buttons
2683 DataTypeApplyOp(data_type, '-', data_ptr, data_ptr, g.IO.KeyCtrl && step_fast ? step_fast : step);
2689 DataTypeApplyOp(data_type, '+', data_ptr, data_ptr, g.IO.KeyCtrl && step_fast ? step_fast : step);
2707 bool ImGui::InputScalarN(const char* label, ImGuiDataType data_type, void* v, int components, const void* step, const void* step_fast, const char* format, ImGuiInputTextFlags flags)
2722 value_changed |= InputScalar("", data_type, v, step, step_fast, format, flags);
2735 bool ImGui::InputFloat(const char* label, float* v, float step, float step_fast, const char* format, ImGuiInputTextFlags flags)
2738 return InputScalar(label, ImGuiDataType_Float, (void*)v, (void*)(step>0.0f ? &step : NULL), (void*)(step_fast>0.0f ? &step_fast : NULL), format, flags)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/imgui/
imgui.h 449 IMGUI_API bool InputFloat(const char* label, float* v, float step = 0.0f, float step_fast = 0.0f, const char* format = "%.3f", ImGuiInputTextFlags flags = 0);
453 IMGUI_API bool InputInt(const char* label, int* v, int step = 1, int step_fast = 100, ImGuiInputTextFlags flags = 0);
457 IMGUI_API bool InputDouble(const char* label, double* v, double step = 0.0, double step_fast = 0.0, const char* format = "%.6f", ImGuiInputTextFlags flags = 0);
458 IMGUI_API bool InputScalar(const char* label, ImGuiDataType data_type, void* v, const void* step = NULL, const void* step_fast = NULL, const char* format = NULL, ImGuiInputTextFlags flags = 0);
459 IMGUI_API bool InputScalarN(const char* label, ImGuiDataType data_type, void* v, int components, const void* step = NULL, const void* step_fast = NULL, const char* format = NULL, ImGuiInputTextFlags flags = 0);
1493 IMGUI_API bool InputFloat(const char* label, float* v, float step, float step_fast, int decimal_precision, ImGuiInputTextFlags flags = 0); // Use the 'const char* format' version instead of 'decimal_precision'!
1654 // while (clipper.Step())
1657 // - Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height (step skipped if we passed a known height as second arg to constructor).
1658 // - Step 1: the clipper infer height from first element, calculate the actual range of elements to display, (…)
    [all...]
imgui.cpp 367 - 2019/02/14 (1.68) - made it illegal/assert when io.DisplayTime == 0.0f (with an exception for the first frame). If for some reason your time step calculation gives you a zero value, replace it with a dummy small value!
2190 // The clipper should probably have a 4th step to display the last item in a regular manner.
2194 window->DC.PrevLineSize.y = (line_height - GImGui->Style.ItemSpacing.y); // If we end up needing more accurate data (to e.g. use SameLine) we may as well make the clipper have a fourth step to let user process and display the last item in their list.
2201 // FIXME-LEGACY: Ideally we should remove the Begin/End functions but they are part of the legacy API we still support. This is why some of the code in Step() calling Begin() and reassign some fields, spaghetti style.
2229 bool ImGuiListClipper::Step()
2236 if (StepNo == 0) // Step 0: the clipper let you process the first element, regardless of it being visible or not, so we can measure the element height.
2244 if (StepNo == 1) // Step 1: the clipper infer height from first element, calculate the actual range of elements to display, and position the cursor before the first element.
2255 if (StepNo == 2) // Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user still call Step(). Does nothing and switch to Step 3
    [all...]
imgui_widgets.cpp 2592 // FIXME: This is still used by some navigation code path to infer a minimum tweak step, but we should aim to rework widgets so it isn't needed.
2644 bool ImGui::InputScalar(const char* label, ImGuiDataType data_type, void* data_ptr, const void* step, const void* step_fast, const char* format, ImGuiInputTextFlags flags)
2665 if (step != NULL)
2676 // Step buttons
2683 DataTypeApplyOp(data_type, '-', data_ptr, data_ptr, g.IO.KeyCtrl && step_fast ? step_fast : step);
2689 DataTypeApplyOp(data_type, '+', data_ptr, data_ptr, g.IO.KeyCtrl && step_fast ? step_fast : step);
2707 bool ImGui::InputScalarN(const char* label, ImGuiDataType data_type, void* v, int components, const void* step, const void* step_fast, const char* format, ImGuiInputTextFlags flags)
2722 value_changed |= InputScalar("", data_type, v, step, step_fast, format, flags);
2735 bool ImGui::InputFloat(const char* label, float* v, float step, float step_fast, const char* format, ImGuiInputTextFlags flags)
2738 return InputScalar(label, ImGuiDataType_Float, (void*)v, (void*)(step>0.0f ? &step : NULL), (void*)(step_fast>0.0f ? &step_fast : NULL), format, flags)
    [all...]

Completed in 70 milliseconds