/third_party/skia/resources/sksl/intrinsics/ |
D | PackUnorm2x16.sksl | 8 const uint constZW = packUnorm2x16(constVal.zw); 10 uint zw = packUnorm2x16(testInputs.zw); 14 all(lessThan(abs(unpackUnorm2x16(zw) - float2(expected.zw)), tolerance)) && 16 all(lessThan(abs(unpackUnorm2x16(constZW) - float2(expected.zw)), tolerance)))
|
/third_party/openGLES/extensions/NV/ |
D | NV_depth_clamp.txt | 86 near clip plane, it should be rendered with the zw value min(n,f) 89 plane should be rendered with the zw value max(n,f). 95 position zw to the range [min(n,f),max(n,f)] where n and f are 98 This rule ensures that the raster position zw will never be outside 101 otherwise a raster position zw could be specified outside the [0,1] 103 is subsequently disabled, that out-of-range raster position zw 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 117 the bitmap fragments are generated with a zw of 0.9. 121 zw depth component clamped to 0.8. But if the depth range was [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
D | NV_depth_clamp.txt | 86 near clip plane, it should be rendered with the zw value min(n,f) 89 plane should be rendered with the zw value max(n,f). 95 position zw to the range [min(n,f),max(n,f)] where n and f are 98 This rule ensures that the raster position zw will never be outside 101 otherwise a raster position zw could be specified outside the [0,1] 103 is subsequently disabled, that out-of-range raster position zw 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 117 the bitmap fragments are generated with a zw of 0.9. 121 zw depth component clamped to 0.8. But if the depth range was [all …]
|
/third_party/skia/tests/sksl/workarounds/ |
D | BlendGuardedDivideStandaloneSettings.glsl | 42 …odge_component_hh2h2(src.yw, dst.yw), _color_dodge_component_hh2h2(src.zw, dst.zw), src.w + (1.0 -… 43 …_burn_component_hh2h2(src.yw, dst.yw), _color_burn_component_hh2h2(src.zw, dst.zw), src.w + (1.0 -… 44 …light_component_hh2h2(src.yw, dst.yw), _soft_light_component_hh2h2(src.zw, dst.zw), src.w + (1.0 -…
|
D | BlendGuardedDivide.glsl | 42 …odge_component_hh2h2(src.yw, dst.yw), _color_dodge_component_hh2h2(src.zw, dst.zw), src.w + (1.0 -… 43 …_burn_component_hh2h2(src.yw, dst.yw), _color_burn_component_hh2h2(src.zw, dst.zw), src.w + (1.0 -… 44 …light_component_hh2h2(src.yw, dst.yw), _soft_light_component_hh2h2(src.zw, dst.zw), src.w + (1.0 -…
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/comp/ |
D | bake_gradient.comp | 29 vec2 displacement = textureLod(uDisplacement, uv.zw, 0.0).xy * 1.2000000476837158203125; 30 … dDdx = (textureLodOffset(uDisplacement, uv.zw, 0.0, ivec2(1, 0)).xy - textureLodOffset(uDisplacem… 31 … dDdy = (textureLodOffset(uDisplacement, uv.zw, 0.0, ivec2(0, 1)).xy - textureLodOffset(uDisplacem…
|
/third_party/mesa3d/docs/gallium/ |
D | tgsi.rst | 1811 dst.zw = |src0.zw| 1819 dst.zw = src0.zw + src1.zw 1827 dst.z = src0.zw == src1.zw ? \sim 0 : 0 1835 dst.z = src0.zw != src1.zw ? \sim 0 : 0 1843 dst.z = src0.zw < src1.zw ? \sim 0 : 0 1851 dst.z = src0.zw >= src1.zw ? \sim 0 : 0 1859 dst.zw = src.zw - \lfloor src.zw\rfloor 1867 dst.zw = trunc(src.zw) 1875 dst.zw = \lceil src.zw\rceil 1883 dst.zw = \lfloor src.zw\rfloor [all …]
|
/third_party/skia/third_party/externals/spirv-cross/shaders/comp/ |
D | bake_gradient.comp | 36 vec2 displacement = LAMBDA * textureLod(uDisplacement, uv.zw, 0.0).xy; 40 textureLodOffset(uDisplacement, uv.zw, 0.0, ivec2(+1, 0)).xy - 41 textureLodOffset(uDisplacement, uv.zw, 0.0, ivec2(-1, 0)).xy); 43 textureLodOffset(uDisplacement, uv.zw, 0.0, ivec2(0, +1)).xy - 44 textureLodOffset(uDisplacement, uv.zw, 0.0, ivec2(0, -1)).xy);
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_packing.c | 71 nir_ssa_def *zw = nir_pack_32_2x16_split(b, nir_channel(b, src, 2), in lower_pack_64_from_16() local 74 return nir_pack_64_2x32_split(b, xy, zw); in lower_pack_64_from_16() 81 nir_ssa_def *zw = nir_unpack_64_2x32_split_y(b, src); in lower_unpack_64_to_16() local 85 nir_unpack_32_2x16_split_x(b, zw), in lower_unpack_64_to_16() 86 nir_unpack_32_2x16_split_y(b, zw)); in lower_unpack_64_to_16()
|
D | nir_split_64bit_vec3_and_vec4.c | 84 nir_variable *zw; member 146 new_var->zw = nir_variable_clone(old_var, b->shader); in get_var_pair() 148 new_var->zw->type = glsl_dvec_type(old_components - 2); in get_var_pair() 154 new_var->zw->type = glsl_array_type(new_var->zw->type, in get_var_pair() 159 exec_list_push_tail(&b->impl->locals, &new_var->zw->node); in get_var_pair() 178 nir_deref_instr *deref2 = nir_build_deref_var(b, vars->zw); in split_load_deref() 201 nir_deref_instr *deref_zw = nir_build_deref_var(b, vars->zw); in split_store_deref()
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/asm/frag/ |
D | vector-shuffle-oom.asm.frag | 113 vec2 _97 = clamp(_82 + (vec3(0.0, -2.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); 130 vec2 _144 = clamp(_82 + (vec3(-1.0, -1.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); 147 vec2 _191 = clamp(_82 + (vec3(0.0, -1.0, 0.75).xy * _7._m0.xy), _88.xy, _88.zw); 164 vec2 _238 = clamp(_82 + (vec3(1.0, -1.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); 181 vec2 _285 = clamp(_82 + (vec3(-2.0, 0.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); 198 vec2 _332 = clamp(_82 + (vec3(-1.0, 0.0, 0.75).xy * _7._m0.xy), _88.xy, _88.zw); 215 vec2 _379 = clamp(_82 + (vec3(0.0, 0.0, 1.0).xy * _7._m0.xy), _88.xy, _88.zw); 232 vec2 _426 = clamp(_82 + (vec3(1.0, 0.0, 0.75).xy * _7._m0.xy), _88.xy, _88.zw); 249 vec2 _473 = clamp(_82 + (vec3(2.0, 0.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); 266 vec2 _520 = clamp(_82 + (vec3(-1.0, 1.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); [all …]
|
/third_party/skia/third_party/externals/tint/test/buffer/uniform/dynamic_index/ |
D | read.wgsl.expected.hlsl | 22 … ubo_load.zw : ubo_load.xy)), asfloat(((scalar_offset_3 & 2) ? ubo_load_1.zw : ubo_load_1.xy)), as… 52 const int2 g = asint(((scalar_offset_12 & 2) ? ubo_load_3.zw : ubo_load_3.xy)); 55 const int2 h = asint(((scalar_offset_13 & 2) ? ubo_load_4.zw : ubo_load_4.xy));
|
/third_party/skia/tests/sksl/intrinsics/ |
D | PackUnorm2x16.glsl | 8 uint zw = packUnorm2x16(testInputs.zw); 10 …(abs(unpackUnorm2x16(xy)), tolerance)) && all(lessThan(abs(unpackUnorm2x16(zw) - vec2(0.75, 1.0)),…
|
D | PackUnorm2x16.asm.frag | 15 OpName %zw "zw" 76 %zw = OpVariable %_ptr_Function_uint Function 88 OpStore %zw %37 99 %58 = OpLoad %uint %zw
|
D | PackUnorm2x16.metal | 18 uint zw = pack_float_to_unorm2x16(_uniforms.testInputs.zw); 20 …norm2x16_to_float(xy)) < tolerance)) && all((abs(unpack_unorm2x16_to_float(zw) - float2(0.75, 1.0)…
|
/third_party/skia/third_party/externals/tint/test/bug/tint/ |
D | 403.wgsl.expected.hlsl | 20 …x2(asfloat(((scalar_offset & 2) ? ubo_load.zw : ubo_load.xy)), asfloat(((scalar_offset_1 & 2) ? ub… 28 …float(((scalar_offset_2 & 2) ? ubo_load_2.zw : ubo_load_2.xy)), asfloat(((scalar_offset_3 & 2) ? u…
|
/third_party/openGLES/extensions/ARB/ |
D | ARB_depth_clamp.txt | 100 near clip plane, it should be rendered with the zw value min(n,f) 103 plane should be rendered with the zw value max(n,f). 109 position zw to the range [min(n,f),max(n,f)] where n and f are 112 This rule ensures that the raster position zw will never be outside 115 otherwise a raster position zw could be specified outside the [0,1] 117 is subsequently disabled, that out-of-range raster position zw 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 131 the bitmap fragments are generated with a zw of 0.9. 135 zw depth component clamped to 0.8. But if the depth range was [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
D | ARB_depth_clamp.txt | 90 near clip plane, it should be rendered with the zw value min(n,f) 93 plane should be rendered with the zw value max(n,f). 99 position zw to the range [min(n,f),max(n,f)] where n and f are 102 This rule ensures that the raster position zw will never be outside 105 otherwise a raster position zw could be specified outside the [0,1] 107 is subsequently disabled, that out-of-range raster position zw 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 121 the bitmap fragments are generated with a zw of 0.9. 125 zw depth component clamped to 0.8. But if the depth range was [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/asm/frag/ |
D | vector-shuffle-oom.asm.frag | 135 float2 _97 = fast::clamp(_82 + (float3(0.0, -2.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); 151 float2 _144 = fast::clamp(_82 + (float3(-1.0, -1.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); 167 float2 _191 = fast::clamp(_82 + (float3(0.0, -1.0, 0.75).xy * _7._m0.xy), _88.xy, _88.zw); 183 float2 _238 = fast::clamp(_82 + (float3(1.0, -1.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); 199 float2 _285 = fast::clamp(_82 + (float3(-2.0, 0.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); 215 float2 _332 = fast::clamp(_82 + (float3(-1.0, 0.0, 0.75).xy * _7._m0.xy), _88.xy, _88.zw); 231 float2 _379 = fast::clamp(_82 + (float3(0.0, 0.0, 1.0).xy * _7._m0.xy), _88.xy, _88.zw); 247 float2 _426 = fast::clamp(_82 + (float3(1.0, 0.0, 0.75).xy * _7._m0.xy), _88.xy, _88.zw); 263 float2 _473 = fast::clamp(_82 + (float3(2.0, 0.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); 279 float2 _520 = fast::clamp(_82 + (float3(-1.0, 1.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); [all …]
|
/third_party/skia/experimental/graphite/src/geom/ |
D | Rect.h | 75 AI float2 botRight() const { return -fVals.zw(); } in botRight() 83 AI void setBotRight(float2 botRight) { fVals.zw() = -botRight; } in setBotRight() 92 return !all(fVals.xy() + fVals.zw() < 0); // !([l-r, r-b] < 0) == ([w, h] <= 0) in isEmptyNegativeOrNaN() 96 AI float2 size() const { return -(fVals.xy() + fVals.zw()); } // == [-(l-r), -(t-b)] == [w, h] in size() 100 return p.xy() + p.zw(); // == [(l + r)/2, (t + b)/2] in center() 104 float2 negativeSize = fVals.xy() + fVals.zw(); // == [l-r, t-b] == [-w, -h] in area()
|
/third_party/skia/third_party/externals/tint/test/expressions/binary/mul/mat3x2-vec3/ |
D | f32.wgsl.expected.hlsl | 12 … ubo_load.zw : ubo_load.xy)), asfloat(((scalar_offset_1 & 2) ? ubo_load_1.zw : ubo_load_1.xy)), as…
|
/third_party/skia/third_party/externals/tint/test/buffer/uniform/static_index/ |
D | read.wgsl.expected.hlsl | 25 … ubo_load.zw : ubo_load.xy)), asfloat(((scalar_offset_3 & 2) ? ubo_load_1.zw : ubo_load_1.xy)), as… 54 const int2 h = asint(s[3].zw);
|
/third_party/ffmpeg/libavfilter/ |
D | colorspace.c | 72 double i[3][3], sr, sg, sb, zw; in ff_fill_rgb2xyz_table() local 82 zw = 1.0 - wp->xw - wp->yw; in ff_fill_rgb2xyz_table() 83 sr = i[0][0] * wp->xw + i[0][1] * wp->yw + i[0][2] * zw; in ff_fill_rgb2xyz_table() 84 sg = i[1][0] * wp->xw + i[1][1] * wp->yw + i[1][2] * zw; in ff_fill_rgb2xyz_table() 85 sb = i[2][0] * wp->xw + i[2][1] * wp->yw + i[2][2] * zw; in ff_fill_rgb2xyz_table()
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/vert/ |
D | array-component-io.for-tess.vert | 76 InB[0] = in.m_location_1.zw; 77 InB[1] = in.m_location_2.zw; 91 out.m_location_1.zw = B[0]; 92 out.m_location_2.zw = B[1];
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/vert/ |
D | array-component-io.for-tess.vert | 76 InB[0] = in.m_location_1.zw; 77 InB[1] = in.m_location_2.zw; 91 out.m_location_1.zw = B[0]; 92 out.m_location_2.zw = B[1];
|