Home
last modified time | relevance | path

Searched refs:half (Results 1 – 25 of 1181) sorted by relevance

12345678910>>...48

/third_party/skia/resources/sksl/shared/
DNumberConversions.sksl9 half h = half(unknownInput);
47 sk_FragColor.r = half(s) + half(i) + half(us) + half(ui) + half(h) + half(f) + half(s2s) +
48 half(i2s) + half(us2s) + half(ui2s) + half(h2s) + half(f2s) + half(b2s) +
49 half(s2i) + half(i2i) + half(us2i) + half(ui2i) + half(h2i) + half(f2i) +
50 half(b2i) + half(s2us) + half(i2us) + half(us2us);
51 sk_FragColor.r += half(ui2us) + half(h2us) + half(f2us) + half(b2us) + half(s2ui) + half(i2ui) +
52 half(us2ui) + half(ui2ui) + half(h2ui) + half(f2ui) + half(b2ui) + half(s2f) +
53 half(i2f) + half(us2f) + half(ui2f) + half(h2f) + half(f2f) + half(b2f);
DScalarConversionConstructorsES3.sksl26 return half(f1) + half(f2) + half(f3) + half(f4) +
27 half(i1) + half(i2) + half(i3) + half(i4) +
28 half(u1) + half(u2) + half(u3) + half(u4) +
29 half(b1) + half(b2) + half(b3) + half(b4) == 16 ? colorGreen : colorRed;
DVectorConstructors.sksl9 return half(v1.x) + half(v2.x) + half(v3.x) + half(v4.x) +
10 half(v5.x) + half(v6.x) + half(v7.x) + half(v8.x) +
11 half(v9.x) + half(v10.x) + half(v11.x) + half(v12.x) +
12 half(v13.x) + half(v14.x) + half(v15.x) + half(v16.x) +
13 half(v17.x) == 17;
DSwizzleByConstantIndex.sksl5 half x = v[0];
6 half y = v[1];
7 half z = v[2];
8 half w = v[3];
14 half x = testInputs[ZERO];
15 half y = testInputs[ONE];
16 half z = testInputs[TWO];
17 half w = testInputs[THREE];
23 half x = v[0];
24 half y = v[1];
[all …]
/third_party/skia/tests/sksl/shared/
DNumberConversions.metal20 half h = half(_uniforms.unknownInput);
57half(s) + half(i)) + half(us)) + half(ui)) + h) + half(f)) + half(s2s)) + half(i2s)) + half(us2s))…
58half(ui2us) + half(h2us)) + half(f2us)) + half(b2us)) + half(s2ui)) + half(i2ui)) + half(us2ui)) +…
DScalarConversionConstructorsES3.metal36half(f1) + half(f2)) + half(f3)) + half(f4)) + half(i1)) + half(i2)) + half(i3)) + half(i4)) + hal…
DVectorConstructors.metal15half(v1.x) + half(v2.x)) + half(v3.x)) + half(v4.x)) + half(v5.x)) + half(v6.x)) + half(v7.x)) + h…
DSwizzleByConstantIndex.metal18 half _1_x = _0_v.x;
19 half _2_y = _0_v.y;
20 half _3_z = _0_v.z;
21 half _4_w = _0_v.w;
23 half _9_x = _uniforms.testInputs.x;
24 half _10_y = _uniforms.testInputs.y;
25 half _11_z = _uniforms.testInputs.z;
26 half _12_w = _uniforms.testInputs.w;
29 half _14_x = _13_v.x;
30 half _15_y = _13_v.y;
[all …]
/third_party/skia/resources/sksl/errors/
DVectorIndexOutOfRange.sksl1 void half4_neg1() { half4 h; half v = h[-1]; }
2 void half4_0() { half4 h; half v = h[0]; }
3 void half4_1() { half4 h; half v = h[1]; }
4 void half4_2() { half4 h; half v = h[2]; }
5 void half4_3() { half4 h; half v = h[3]; }
6 void half4_4() { half4 h; half v = h[4]; }
7 void half4_huge() { half4 h; half v = h[1000000000]; }
9 void half3_neg1() { half3 h; half v = h[-1]; }
10 void half3_0() { half3 h; half v = h[0]; }
11 void half3_1() { half3 h; half v = h[1]; }
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Common/
DHalf.hpp20 class half class
23 half() = default;
24 half(const half& h) = default;
25 explicit half(float f);
29 half &operator=(const half& h) = default;
30 half &operator=(float f);
36 inline half shortAsHalf(short s) in shortAsHalf()
40 half h; in shortAsHalf()
57 void toRGB16F(half rgb[3]) const in toRGB16F()
62 rgb[0] = half(R * factor); in toRGB16F()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_half_float.txt54 half-precision (16-bit) floating-point quantities. The floating-point
60 This extension allows applications to use half-precision floating point
71 What should the new data type be called? "half"? "hfloat"? In addition,
74 RESOLVED: half and "h". This convention builds on the convention of
76 numbers. Here, "half" will refer to half-precision floating-point
82 have reflected a second-class status better than "half/h".
84 Both names are not without conflicting precedents. The name "half" is
89 Should we provide immediate-mode entry points for half-precision
95 Should we support half-precision floating-point color index data?
99 Should half-precision data be accepted by all commands that accept pixel
[all …]
/third_party/openGLES/extensions/NV/
DNV_half_float.txt54 half-precision (16-bit) floating-point quantities. The floating-point
60 This extension allows applications to use half-precision floating point
71 What should the new data type be called? "half"? "hfloat"? In addition,
74 RESOLVED: half and "h". This convention builds on the convention of
76 numbers. Here, "half" will refer to half-precision floating-point
82 have reflected a second-class status better than "half/h".
84 Both names are not without conflicting precedents. The name "half" is
89 Should we provide immediate-mode entry points for half-precision
95 Should we support half-precision floating-point color index data?
99 Should half-precision data be accepted by all commands that accept pixel
[all …]
/third_party/ffmpeg/libavcodec/x86/
Dqpeldsp_init.c103 uint8_t *const half = (uint8_t *) temp; \
104 ff_put ## RND ## mpeg4_qpel8_h_lowpass_ ## MMX(half, src, 8, \
106 ff_ ## OPNAME ## pixels8_l2_ ## MMX(dst, src, half, \
123 uint8_t *const half = (uint8_t *) temp; \
124 ff_put ## RND ## mpeg4_qpel8_h_lowpass_ ## MMX(half, src, 8, \
126 ff_ ## OPNAME ## pixels8_l2_ ## MMX(dst, src + 1, half, stride, \
135 uint8_t *const half = (uint8_t *) temp; \
136 ff_put ## RND ## mpeg4_qpel8_v_lowpass_ ## MMX(half, src, \
138 ff_ ## OPNAME ## pixels8_l2_ ## MMX(dst, src, half, \
155 uint8_t *const half = (uint8_t *) temp; \
[all …]
/third_party/skia/resources/sksl/inliner/
DInlinerManglesNames.sksl3 half add(half a, half b) {
4 half c = a + b;
8 half mul(half a, half b) {
12 half fma(half a, half b, half c) {
17 half a = fma(color.x, color.y, color.z);
18 half b = fma(color.y, color.z, color.w);
19 half c = fma(color.z, color.w, color.x);
DInlinerCanBeDisabled.sksl5 half singleuse() {
9 half add(half a, half b) {
10 half c = a + b;
14 half mul(half a, half b) {
18 half fma(half a, half b, half c) {
DNoInline.sksl7 noinline half add(half a, half b) {
8 half c = a + b;
12 noinline half mul(half a, half b) {
16 noinline half fma(half a, half b, half c) {
/third_party/skia/tests/sksl/metal/
DOutParams.metal9 void out_half_vh(thread half& v);
10 void _skOutParamHelper0_out_half_vh(thread half& h) {
11 half _var0;
33 void out_half_vh(thread half& v);
35 half _var0;
51 void out_pair_vhh(thread half& v1, thread half& v2);
52 void _skOutParamHelper7_out_pair_vhh(thread half& h, thread half& h1) {
53 half _var0;
54 half _var1;
59 void out_pair_vhh(thread half& v1, thread half& v2);
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/asm/tesc/
Dtess-level-initializer-quad.asm.tesc58 spvTessLevel[gl_PrimitiveID].edgeTessellationFactor[0] = half(0.0);
59 spvTessLevel[gl_PrimitiveID].edgeTessellationFactor[1] = half(0.0);
60 spvTessLevel[gl_PrimitiveID].edgeTessellationFactor[2] = half(0.0);
61 spvTessLevel[gl_PrimitiveID].edgeTessellationFactor[3] = half(0.0);
62 spvTessLevel[gl_PrimitiveID].insideTessellationFactor[0] = half(0.0);
63 spvTessLevel[gl_PrimitiveID].insideTessellationFactor[1] = half(0.0);
64 spvTessLevel[gl_PrimitiveID].edgeTessellationFactor[0] = half(0.0);
65 spvTessLevel[gl_PrimitiveID].edgeTessellationFactor[1] = half(0.0);
66 spvTessLevel[gl_PrimitiveID].edgeTessellationFactor[2] = half(0.0);
67 spvTessLevel[gl_PrimitiveID].edgeTessellationFactor[3] = half(0.0);
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/frag/
Dfp16.desktop.invalid.frag16 half v1 [[user(locn0)]];
58 half a = half(1.0);
59 half b = half(1.5);
60 half c = half(-1.5);
61 half d = half(0.0 / 0.0);
62 half e = half(1.0 / 0.0);
63 half f = half(-1.0 / 0.0);
64 half g = half(1014.0);
65 half h = half(9.5367431640625e-07);
69 half test_result()
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl-no-opt/frag/
Dnative-16bit-types.fxconly.nofxc.sm62.native-16bit.frag29 Output = Input + half(20.0).xxxx;
32 Output += _62.Load<half>(index * 2 + 0).xxxx;
39 …Output += half3(_62.Load<half>(index * 12 + 186), _62.Load<half>(index * 12 + 190), _62.Load<half>…
42half>(index * 12 + 184), _62.Load<half>(index * 12 + 188), _62.Load<half>(index * 12 + 192), _62.L…
44 _62.Store<half>(index * 2 + 0, Output.x);
51 _62.Store<half>(index * 12 + 186, Output.x);
52 _62.Store<half>(index * 12 + 190, Output.xyz.y);
53 _62.Store<half>(index * 12 + 194, Output.xyz.z);
58 _62.Store<half>(index * 12 + 184, _197[0].x);
59 _62.Store<half>(index * 12 + 186, _197[1].x);
[all …]
/third_party/ffmpeg/tests/fate/
Dimage.mak121 FATE_EXR += fate-exr-rgba-multiscanline-half-b44
122 fate-exr-rgba-multiscanline-half-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_multiscanline_ha…
127 FATE_EXR += fate-exr-rgb-scanline-half-b44-12x8
128 fate-exr-rgb-scanline-half-b44-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_…
130 FATE_EXR += fate-exr-rgb-scanline-half-b44-13x9
131 fate-exr-rgb-scanline-half-b44-13x9: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_…
139 FATE_EXR += fate-exr-rgb-tile-half-raw-12x8
140 fate-exr-rgb-tile-half-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_raw_12x8.exr…
142 FATE_EXR += fate-exr-rgba-scanline-float-half-b44-13x9-l1
143 fate-exr-rgba-scanline-float-half-b44-13x9-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanlin…
[all …]
/third_party/skia/third_party/externals/swiftshader/src/System/
DHalf.hpp25 class half class
28 half() = default;
29 explicit half(float f);
33 half &operator=(float f);
39 inline half shortAsHalf(short s) in shortAsHalf()
43 half h; in shortAsHalf()
91 constexpr int half = 1 << (23 - g_sharedexp_mantissabits); in RGB9E5() local
92 const float red_r = bit_cast<float>(bit_cast<int>(red_c) + half); in RGB9E5()
93 const float green_r = bit_cast<float>(bit_cast<int>(green_c) + half); in RGB9E5()
94 const float blue_r = bit_cast<float>(bit_cast<int>(blue_c) + half); in RGB9E5()
[all …]
/third_party/openssl/test/
Dpoly1305_internal_test.c1542 size_t half = inlen / 2; in test_poly1305() local
1545 Poly1305_Update(&poly1305, in, half); in test_poly1305()
1546 Poly1305_Update(&poly1305, in+half, inlen-half); in test_poly1305()
1554 for (half = 16; half < inlen; half += 16) { in test_poly1305()
1556 Poly1305_Update(&poly1305, in, half); in test_poly1305()
1557 Poly1305_Update(&poly1305, in+half, inlen-half); in test_poly1305()
1562 idx, half, inlen-half); in test_poly1305()
/third_party/flutter/skia/src/gpu/effects/
DGrRectBlurEffect.fp23 in uniform half sigma;
39 // Sigma is always a half.
57 half invr = 1.0 / (2.0 * sigma);
60 half x;
64 x = half(max(lDiff, rDiff) * invr);
66 half lDiff = half(rectH.x - sk_FragCoord.x);
67 half rDiff = half(sk_FragCoord.x - rectH.z);
74 half xCoverage;
80 half x2 = x * x;
81 half x3 = x2 * x;
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/tesc/
Dtess-level-read-write-in-function-quad.tesc14 void store_tess_level_in_func(device half (&gl_TessLevelInner)[2], device half (&gl_TessLevelOuter)…
16 gl_TessLevelInner[0] = half(1.0);
17 gl_TessLevelInner[1] = half(2.0);
18 gl_TessLevelOuter[0] = half(3.0);
19 gl_TessLevelOuter[1] = half(4.0);
20 gl_TessLevelOuter[2] = half(5.0);
21 gl_TessLevelOuter[3] = half(6.0);
25 float load_tess_level_in_func(device half (&gl_TessLevelInner)[2], device half (&gl_TessLevelOuter)…

12345678910>>...48