Home
last modified time | relevance | path

Searched refs:edge0 (Results 1 – 13 of 13) sorted by relevance

/external/skqp/samplecode/
DSamplePatch.cpp117 SkPoint* edge0 = storage.get(); in draw() local
118 SkPoint* edge1 = edge0 + nu; in draw()
123 eval_patch_edge(fPts + 0, edge0, nu); in draw()
127 edge3[nv] = edge0[0]; // the last shall be first in draw()
138 memcpy(verts, edge0, (nu + 1) * sizeof(SkPoint)); in draw()
145 eval_sheet(edge0, nu, nv, col, row, &r[col]); in draw()
/external/skia/samplecode/
DSamplePatch.cpp117 SkPoint* edge0 = storage.get(); in draw() local
118 SkPoint* edge1 = edge0 + nu; in draw()
123 eval_patch_edge(fPts + 0, edge0, nu); in draw()
127 edge3[nv] = edge0[0]; // the last shall be first in draw()
138 memcpy(verts, edge0, (nu + 1) * sizeof(SkPoint)); in draw()
145 eval_sheet(edge0, nu, nv, col, row, &r[col]); in draw()
/external/deqp/framework/common/
DtcuVectorUtil.hpp71 inline float smoothStep (float edge0, float edge1, float x) in smoothStep() argument
73 if (x <= edge0) return 0.0f; in smoothStep()
75 float t = de::clamp((x - edge0) / (edge1 - edge0), 0.0f, 1.0f); in smoothStep()
/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.c291 const MV_REFERENCE_FRAME edge0 = in vp9_get_pred_context_single_ref_p2() local
293 pred_context = 4 * (edge0 == GOLDEN_FRAME); in vp9_get_pred_context_single_ref_p2()
/external/skia/src/sksl/
Dsksl.inc132 $genType smoothstep($genType edge0, $genType edge1, $genType x);
133 $genType smoothstep(float edge0, float edge1, $genType x);
134 $genHType smoothstep($genHType edge0, $genHType edge1, $genHType x);
135 $genHType smoothstep(half edge0, half edge1, $genHType x);
136 //$genDType smoothstep($genDType edge0, $genDType edge1, $genDType x);
137 //$genDType smoothstep(double edge0, double edge1, $genDType x);
/external/swiftshader/src/Pipeline/
DShaderCore.cpp1208 …void ShaderCore::smooth(Vector4f &dst, const Vector4f &edge0, const Vector4f &edge1, const Vector4… in smooth() argument
1210 …Float4 tx = Min(Max((x.x - edge0.x) / (edge1.x - edge0.x), Float4(0.0f)), Float4(1.0f)); dst.x = t… in smooth()
1211 …Float4 ty = Min(Max((x.y - edge0.y) / (edge1.y - edge0.y), Float4(0.0f)), Float4(1.0f)); dst.y = t… in smooth()
1212 …Float4 tz = Min(Max((x.z - edge0.z) / (edge1.z - edge0.z), Float4(0.0f)), Float4(1.0f)); dst.z = t… in smooth()
1213 …Float4 tw = Min(Max((x.w - edge0.w) / (edge1.w - edge0.w), Float4(0.0f)), Float4(1.0f)); dst.w = t… in smooth()
/external/swiftshader/src/Shader/
DShaderCore.cpp1208 …void ShaderCore::smooth(Vector4f &dst, const Vector4f &edge0, const Vector4f &edge1, const Vector4… in smooth() argument
1210 …Float4 tx = Min(Max((x.x - edge0.x) / (edge1.x - edge0.x), Float4(0.0f)), Float4(1.0f)); dst.x = t… in smooth()
1211 …Float4 ty = Min(Max((x.y - edge0.y) / (edge1.y - edge0.y), Float4(0.0f)), Float4(1.0f)); dst.y = t… in smooth()
1212 …Float4 tz = Min(Max((x.z - edge0.z) / (edge1.z - edge0.z), Float4(0.0f)), Float4(1.0f)); dst.z = t… in smooth()
1213 …Float4 tw = Min(Max((x.w - edge0.w) / (edge1.w - edge0.w), Float4(0.0f)), Float4(1.0f)); dst.w = t… in smooth()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp4302 double applyExact (double edge0, double edge1) const in applyExact() argument
4304 return (edge0 >= edge1) ? TCU_NAN : 0.0; in applyExact()
4307 double precision (const EvalContext&, double, double edge0, double edge1) const in precision() argument
4309 return (edge0 >= edge1) ? TCU_NAN : 0.0; in precision()
4313 ExprP<deFloat16> nanIfGreaterOrEqual(const ExprP<deFloat16>& edge0, const ExprP<deFloat16>& edge1) in nanIfGreaterOrEqual() argument
4315 return app<NanIfGreaterOrEqual< Signature<deFloat16, deFloat16, deFloat16> > >(edge0, edge1); in nanIfGreaterOrEqual()
4318 ExprP<float> nanIfGreaterOrEqual(const ExprP<float>& edge0, const ExprP<float>& edge1) in nanIfGreaterOrEqual() argument
4320 return app<NanIfGreaterOrEqual< Signature<float, float, float> > >(edge0, edge1); in nanIfGreaterOrEqual()
4356 const ExprP<float>& edge0 = args.a; in doExpand() local
4359 const ExprP<float> tExpr = clamp((x - edge0) / (edge1 - edge0), constant(0.0f), constant(1.0f)) in doExpand()
[all …]
/external/skqp/src/sksl/
Dsksl.inc90 $genType smoothstep($genType edge0, $genType edge1, $genType x);
91 $genType smoothstep(float edge0, float edge1, $genType x);
92 //$genDType smoothstep($genDType edge0, $genDType edge1, $genDType x);
93 //$genDType smoothstep(double edge0, double edge1, $genDType x);
/external/clang/lib/Headers/
Dopencl-c.h11440 float __ovld __cnfn smoothstep(float edge0, float edge1, float x);
11441 float2 __ovld __cnfn smoothstep(float2 edge0, float2 edge1, float2 x);
11442 float3 __ovld __cnfn smoothstep(float3 edge0, float3 edge1, float3 x);
11443 float4 __ovld __cnfn smoothstep(float4 edge0, float4 edge1, float4 x);
11444 float8 __ovld __cnfn smoothstep(float8 edge0, float8 edge1, float8 x);
11445 float16 __ovld __cnfn smoothstep(float16 edge0, float16 edge1, float16 x);
11446 float2 __ovld __cnfn smoothstep(float edge0, float edge1, float2 x);
11447 float3 __ovld __cnfn smoothstep(float edge0, float edge1, float3 x);
11448 float4 __ovld __cnfn smoothstep(float edge0, float edge1, float4 x);
11449 float8 __ovld __cnfn smoothstep(float edge0, float edge1, float8 x);
[all …]
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp3479 const ExprP<float>& edge0 = args.a; in doExpand() local
3482 const ExprP<float> tExpr = clamp((x - edge0) / (edge1 - edge0), in doExpand()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp13667 const fp16type edge0 (*in[0]); in calc() local
13672 if (edge0.isNaN() || edge1.isNaN() || x.isNaN() || edge0.asDouble() >= edge1.asDouble()) in calc()
13675 if (edge0.isInf() || edge1.isInf() || x.isInf()) in calc()
13680 const float edge0d (edge0.asFloat()); in calc()
13689 const double edge0d (edge0.asDouble()); in calc()
13712 const double edge0d (edge0.asDouble()); in calc()
/external/mesa3d/src/compiler/glsl/
Dbuiltin_functions.cpp4155 ir_variable *edge0 = in_var(edge_type, "edge0"); in _smoothstep() local
4158 MAKE_SIG(x_type, avail, 3, edge0, edge1, x); in _smoothstep()
4168 body.emit(assign(t, clamp(div(sub(x, edge0), sub(edge1, edge0)), in _smoothstep()