Home
last modified time | relevance | path

Searched refs:clamped (Results 1 – 25 of 547) sorted by relevance

12345678910>>...22

/third_party/skia/third_party/externals/tint/test/intrinsics/
Drepeated_use.wgsl.expected.glsl8 uint4 clamped = clamp(exponent, 0x0080000, 0x7f00000);
9 return clamped == exponent;
14 uint3 clamped = clamp(exponent, 0x0080000, 0x7f00000);
15 return clamped == exponent;
20 uint2 clamped = clamp(exponent, 0x0080000, 0x7f00000);
21 return clamped == exponent;
26 uint clamped = clamp(exponent, 0x0080000, 0x7f00000);
27 return clamped == exponent;
Drepeated_use.wgsl.expected.hlsl51 uint4 clamped = clamp(exponent, 0x0080000, 0x7f00000);
52 return clamped == exponent;
57 uint3 clamped = clamp(exponent, 0x0080000, 0x7f00000);
58 return clamped == exponent;
63 uint2 clamped = clamp(exponent, 0x0080000, 0x7f00000);
64 return clamped == exponent;
69 uint clamped = clamp(exponent, 0x0080000, 0x7f00000);
70 return clamped == exponent;
/third_party/flutter/flutter/packages/flutter/test/physics/
Dclamped_simulation_test.dart11 …final ClampedSimulation clamped = ClampedSimulation(gravity, xMin: 20.0, xMax: 100.0, dxMin: 7.0, …
13 expect(clamped.x(0.0), equals(20.0));
14 expect(clamped.dx(0.0), equals(7.0));
16 expect(clamped.x(100.0), equals(100.0));
17 expect(clamped.dx(100.0), equals(11.0));
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/isNormal/
Db00ab1.wgsl.expected.glsl8 uint2 clamped = clamp(exponent, 0x0080000, 0x7f00000);
9 return clamped == exponent;
52 uint2 clamped = clamp(exponent, 0x0080000, 0x7f00000);
53 return clamped == exponent;
86 uint2 clamped = clamp(exponent, 0x0080000, 0x7f00000);
87 return clamped == exponent;
D863dcd.wgsl.expected.glsl8 uint4 clamped = clamp(exponent, 0x0080000, 0x7f00000);
9 return clamped == exponent;
52 uint4 clamped = clamp(exponent, 0x0080000, 0x7f00000);
53 return clamped == exponent;
86 uint4 clamped = clamp(exponent, 0x0080000, 0x7f00000);
87 return clamped == exponent;
Dc286b7.wgsl.expected.glsl8 uint3 clamped = clamp(exponent, 0x0080000, 0x7f00000);
9 return clamped == exponent;
52 uint3 clamped = clamp(exponent, 0x0080000, 0x7f00000);
53 return clamped == exponent;
86 uint3 clamped = clamp(exponent, 0x0080000, 0x7f00000);
87 return clamped == exponent;
Dc6e880.wgsl.expected.glsl8 uint clamped = clamp(exponent, 0x0080000, 0x7f00000);
9 return clamped == exponent;
53 uint clamped = clamp(exponent, 0x0080000, 0x7f00000);
54 return clamped == exponent;
88 uint clamped = clamp(exponent, 0x0080000, 0x7f00000);
89 return clamped == exponent;
Dc6e880.wgsl.expected.hlsl7 uint clamped = clamp(exponent, 0x0080000, 0x7f00000);
8 return clamped == exponent;
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c464 util_lower_clearsize_to_dword(const void *clearValue, int *clearValueSize, uint32_t *clamped) in util_lower_clearsize_to_dword() argument
479 *clamped = *clear_value; in util_lower_clearsize_to_dword()
488 *clamped = *(uint8_t *)clearValue; in util_lower_clearsize_to_dword()
489 *clamped |= in util_lower_clearsize_to_dword()
490 (*clamped << 8) | (*clamped << 16) | (*clamped << 24); in util_lower_clearsize_to_dword()
492 *clamped = *(uint16_t *)clearValue; in util_lower_clearsize_to_dword()
493 *clamped |= *clamped << 16; in util_lower_clearsize_to_dword()
/third_party/skia/third_party/externals/opengl-registry/extensions/ATI/
DWGL_ATI_pixel_format_float.txt46 In standard OpenGL RGBA color components are normally clamped to
48 clamped to the limits of the range representable by their format.
119 destination buffers components are clamped to [0,1]. The resulting
122 destination buffers components are clamped to the limits of the
148 point value in this quadruplet is clamped to [0,1] and converted
168 components is clamped to [0; 1] and converted to fixed-point
171 clamped.
187 clamped to [0,1]. For floating-point RGBA color buffer, components
188 are not clamped if the <type> is FLOAT, clamped to [0,1] if the
189 <type> is unsigned, and clamped to [-1,1] if the <type> is signed.
[all …]
/third_party/openGLES/extensions/ATI/
DWGL_ATI_pixel_format_float.txt46 In standard OpenGL RGBA color components are normally clamped to
48 clamped to the limits of the range representable by their format.
119 destination buffers components are clamped to [0,1]. The resulting
122 destination buffers components are clamped to the limits of the
148 point value in this quadruplet is clamped to [0,1] and converted
168 components is clamped to [0; 1] and converted to fixed-point
171 clamped.
187 clamped to [0,1]. For floating-point RGBA color buffer, components
188 are not clamped if the <type> is FLOAT, clamped to [0,1] if the
189 <type> is unsigned, and clamped to [-1,1] if the <type> is signed.
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_format_convert.h386 nir_ssa_def *clamped = nir_fmax(b, color, nir_imm_float(b, 0)); in nir_format_pack_11f11f10f() local
389 nir_ssa_def *p1 = nir_pack_half_2x16_split(b, nir_channel(b, clamped, 0), in nir_format_pack_11f11f10f()
390 nir_channel(b, clamped, 1)); in nir_format_pack_11f11f10f()
391 nir_ssa_def *p2 = nir_pack_half_2x16_split(b, nir_channel(b, clamped, 2), in nir_format_pack_11f11f10f()
412 nir_ssa_def *clamped = nir_fmin(b, color, nir_imm_float(b, MAX_RGB9E5)); in nir_format_pack_r9g9b9e5() local
415 clamped = nir_bcsel(b, nir_ult(b, nir_imm_int(b, 0x7f800000), color), in nir_format_pack_r9g9b9e5()
416 nir_imm_float(b, 0), clamped); in nir_format_pack_r9g9b9e5()
419 nir_ssa_def *maxu = nir_umax(b, nir_channel(b, clamped, 0), in nir_format_pack_r9g9b9e5()
420 nir_umax(b, nir_channel(b, clamped, 1), in nir_format_pack_r9g9b9e5()
421 nir_channel(b, clamped, 2))); in nir_format_pack_r9g9b9e5()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DClampIndirectIndices.cpp102 TIntermTyped *clamped = in visitBinary() local
108 TIntermSequence constructorArgs = {clamped}; in visitBinary()
109 clamped = TIntermAggregate::CreateConstructor(*StaticType::GetBasic<EbtInt, EbpHigh>(), in visitBinary()
114 queueReplacementWithParent(node, node->getRight(), clamped, OriginalNode::IS_DROPPED); in visitBinary()
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIS/
DGLX_SGIS_color_range.txt80 If the resulting value is negative it is clamped to <min> not 0.
88 3. color table lookups (raw bits or clamped[0,1]
161 After lighting, RGBA colors are clamped to the range [min, max].
191 First, each component is clamped to the range [0,1]. If there is a
209 are clamped, the original values are passed through unmodified to
224 For RGBA components each element is clamped to [min,max]. The resulting
231 Each R, G, B, and A value so extracted is clamped to [min,max].
232 Each of the four values set by TEXTURE_BORDER_COLOR is clamped to lie
239 outside this range are clamped to it).
248 Each component of Cf is clamped to [min, max] when specified.
[all …]
/third_party/openGLES/extensions/SGIS/
DGLX_SGIS_color_range.txt80 If the resulting value is negative it is clamped to <min> not 0.
88 3. color table lookups (raw bits or clamped[0,1]
161 After lighting, RGBA colors are clamped to the range [min, max].
191 First, each component is clamped to the range [0,1]. If there is a
209 are clamped, the original values are passed through unmodified to
224 For RGBA components each element is clamped to [min,max]. The resulting
231 Each R, G, B, and A value so extracted is clamped to [min,max].
232 Each of the four values set by TEXTURE_BORDER_COLOR is clamped to lie
239 outside this range are clamped to it).
248 Each component of Cf is clamped to [min, max] when specified.
[all …]
/third_party/openGLES/extensions/ARB/
DARB_color_buffer_float.txt74 pipeline, components are frequently clamped to the range [0,1] to
99 Vertex colors are clamped by default.
145 result of the blending equation are clamped. For floating-point
174 are currently specified to be clamped to [0,1] when TexEnv is
178 clamped when specified. If fragment color clamping is enabled,
179 it will be clamped to [0,1] on use.
182 as an interpolation factor (e.g., alpha) be clamped to [0,1]?
187 fragment color clamping is enabled, all sources are clamped to
191 source argument operands be clamped to [0,1] even when fragment
202 RESOLVED: No. The r coordinate should still be clamped to
[all …]
DARB_depth_clamp.txt66 plane clipping accomplish), the depth values can be clamped to the
113 the [0,1] range (because n and far are clamped to the [0,1] range).
123 pre-clamped zw is 2.5. Because depth clamping is enabled the
124 raster position zw is clamped to the current near and far depth
125 range values. Say these values are 0.1 and 0.9. So 2.5 is clamped
135 zw depth component clamped to 0.8. But if the depth range was
136 changed to 0.2 and 0.8 but depth range clamped is disabled, the
203 position z_w is first clamped to the range [min(n,f),max(n,f)],
219 incoming fragment's z_w is compared z_w is clamped to the range
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_color_buffer_float.txt64 pipeline, components are frequently clamped to the range [0,1] to
89 Vertex colors are clamped by default.
135 result of the blending equation are clamped. For floating-point
164 are currently specified to be clamped to [0,1] when TexEnv is
168 clamped when specified. If fragment color clamping is enabled,
169 it will be clamped to [0,1] on use.
172 as an interpolation factor (e.g., alpha) be clamped to [0,1]?
177 fragment color clamping is enabled, all sources are clamped to
181 source argument operands be clamped to [0,1] even when fragment
192 RESOLVED: No. The r coordinate should still be clamped to
[all …]
DARB_depth_clamp.txt56 plane clipping accomplish), the depth values can be clamped to the
103 the [0,1] range (because n and far are clamped to the [0,1] range).
113 pre-clamped zw is 2.5. Because depth clamping is enabled the
114 raster position zw is clamped to the current near and far depth
115 range values. Say these values are 0.1 and 0.9. So 2.5 is clamped
125 zw depth component clamped to 0.8. But if the depth range was
126 changed to 0.2 and 0.8 but depth range clamped is disabled, the
193 position z_w is first clamped to the range [min(n,f),max(n,f)],
209 incoming fragment's z_w is compared z_w is clamped to the range
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dspinlock.cc205 uint32_t clamped = static_cast<uint32_t>( in EncodeWaitCycles() local
208 if (clamped == 0) { in EncodeWaitCycles()
214 if (clamped == kSpinLockSleeper) { in EncodeWaitCycles()
217 return clamped; in EncodeWaitCycles()
/third_party/openGLES/extensions/NV/
DNV_depth_clamp.txt52 plane clipping accomplish), the depth values can be clamped to the
99 the [0,1] range (because n and far are clamped to the [0,1] range).
109 pre-clamped zw is 2.5. Because depth clamping is enabled the
110 raster position zw is clamped to the current near and far depth
111 range values. Say these values are 0.1 and 0.9. So 2.5 is clamped
121 zw depth component clamped to 0.8. But if the depth range was
122 changed to 0.2 and 0.8 but depth range clamped is disabled, the
194 zw is first clamped as follows. If the raster postition's wc>0,
195 then zw is clamped the range [min(n,f),max(n,f)] where n and f are
210 fragment's zw is compared, zw must first be clamped as follows: If the
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_depth_clamp.txt52 plane clipping accomplish), the depth values can be clamped to the
99 the [0,1] range (because n and far are clamped to the [0,1] range).
109 pre-clamped zw is 2.5. Because depth clamping is enabled the
110 raster position zw is clamped to the current near and far depth
111 range values. Say these values are 0.1 and 0.9. So 2.5 is clamped
121 zw depth component clamped to 0.8. But if the depth range was
122 changed to 0.2 and 0.8 but depth range clamped is disabled, the
194 zw is first clamped as follows. If the raster postition's wc>0,
195 then zw is clamped the range [min(n,f),max(n,f)] where n and f are
210 fragment's zw is compared, zw must first be clamped as follows: If the
[all …]
/third_party/openGLES/extensions/SGIX/
DGLX_SGIX_color_type.txt131 After lighting, RGBA colors are clamped to the range [min, max].
163 First, each component is clamped to the range [min,max]. If there is a
194 For RGBA components each element is clamped to [min,max]. The resulting
201 Each R, G, B, and A value so extracted is clamped to [min,max].
202 Each of the four values set by TEXTURE_BORDER_COLOR is clamped to lie
209 outside this range are clamped to it).
218 Each component of Cf is clamped to [min, max] when specified.
231 red is clamped to lie in [min, max], and then converted to a fixed-point
246 section). These values are clamped to the range [min2,max] where min2
259 The color components operated on by Accum must be clamped only if the
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DGLX_SGIX_color_type.txt131 After lighting, RGBA colors are clamped to the range [min, max].
163 First, each component is clamped to the range [min,max]. If there is a
194 For RGBA components each element is clamped to [min,max]. The resulting
201 Each R, G, B, and A value so extracted is clamped to [min,max].
202 Each of the four values set by TEXTURE_BORDER_COLOR is clamped to lie
209 outside this range are clamped to it).
218 Each component of Cf is clamped to [min, max] when specified.
231 red is clamped to lie in [min, max], and then converted to a fixed-point
246 section). These values are clamped to the range [min2,max] where min2
259 The color components operated on by Accum must be clamped only if the
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/editing/
DInputConnectionAdaptor.java143 int clamped = Math.max(0, Math.min(editable.length(), index)); in clampIndexToEditable() local
144 if (clamped != index) { in clampIndexToEditable()
146 + index + "->" + clamped in clampIndexToEditable()
150 return clamped; in clampIndexToEditable()

12345678910>>...22