/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | PixelShader.cpp | 240 bool interpolant[MAX_FRAGMENT_INPUTS][4] = {{false}}; // Interpolants in use in analyzeInterpolants() local 262 interpolant[index][0] = true; in analyzeInterpolants() 263 interpolant[index][1] = true; in analyzeInterpolants() 264 interpolant[index][2] = true; in analyzeInterpolants() 269 interpolant[index][0] = true; in analyzeInterpolants() 270 interpolant[index][1] = true; in analyzeInterpolants() 271 interpolant[index][2] = true; in analyzeInterpolants() 275 interpolant[index][0] = true; in analyzeInterpolants() 276 interpolant[index][1] = true; in analyzeInterpolants() 277 interpolant[index][2] = true; in analyzeInterpolants() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | SetupProcessor.cpp | 105 for(int interpolant = 0; interpolant < MAX_FRAGMENT_INPUTS; interpolant++) in update() local 109 state.gradient[interpolant][component].attribute = Unused; in update() 110 state.gradient[interpolant][component].flat = false; in update() 111 state.gradient[interpolant][component].wrap = false; in update() 125 for(int interpolant = 0; interpolant < MAX_FRAGMENT_INPUTS; interpolant++) in update() local 129 int project = context->isProjectionComponent(interpolant - 2, component) ? 1 : 0; in update() 130 …const Shader::Semantic& semantic = context->pixelShader->getInput(interpolant, component - project… in update() 134 int input = interpolant; in update() 152 state.gradient[interpolant][component].attribute = input; in update() 153 state.gradient[interpolant][component].flat = flat; in update() [all …]
|
D | QuadRasterizer.cpp | 241 for(int interpolant = 0; interpolant < MAX_FRAGMENT_INPUTS; interpolant++) in rasterize() 245 if(state.interpolant[interpolant].component & (1 << component)) in rasterize() 247 …Dv[interpolant][component] = *Pointer<Float4>(primitive + OFFSET(Primitive,V[interpolant][componen… in rasterize() 249 if(!(state.interpolant[interpolant].flat & (1 << component))) in rasterize() 251 …Dv[interpolant][component] += yyyy * *Pointer<Float4>(primitive + OFFSET(Primitive,V[interpolant][… in rasterize() 321 Float4 interpolant = D; in interpolate() local 325 interpolant += x * *Pointer<Float4>(planeEquation + OFFSET(PlaneEquation, A), 16); in interpolate() 329 interpolant *= rhw; in interpolate() 335 interpolant = Min(Max(interpolant, Float4(0.0f)), Float4(1.0f)); in interpolate() 338 return interpolant; in interpolate()
|
D | PixelProcessor.cpp | 1151 for(int interpolant = 0; interpolant < MAX_FRAGMENT_INPUTS; interpolant++) in update() local 1155 const Shader::Semantic &semantic = context->pixelShader->getInput(interpolant, component); in update() 1167 state.interpolant[interpolant].component |= 1 << component; in update() 1171 state.interpolant[interpolant].flat |= 1 << component; in update() 1180 for(int interpolant = 0; interpolant < MAX_FRAGMENT_INPUTS; interpolant++) in update() local 1184 … state.interpolant[interpolant].centroid = context->pixelShader->getInput(interpolant, 0).centroid; in update()
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/frag/ |
D | various-glsl-ops.frag | 1 static float2 interpolant; 6 float2 interpolant : TEXCOORD0; 16 … EvaluateAttributeSnapped(interpolant, 0.100000001490116119384765625f.xx).x) + float4(0.0f, 0.0f, … 21 interpolant = stage_input.interpolant;
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/frag/ |
D | various-glsl-ops.frag | 1 static float2 interpolant; 6 float2 interpolant : TEXCOORD0; 16 …float4 color = float4(0.0f, 0.0f, 0.0f, EvaluateAttributeSnapped(interpolant, 0.100000001490116119… 17 color += float4(0.0f, 0.0f, 0.0f, ddx_coarse(interpolant.x)); 23 interpolant = stage_input.interpolant;
|
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl/frag/ |
D | various-glsl-ops.frag | 3 layout(location = 0) in vec2 interpolant; 9 vec4 color = vec4(0.0, 0.0, 0.0, interpolateAtOffset(interpolant, vec2(0.1, 0.1))); 12 //color += vec4(0.0, 0.0, 0.0, interpolateAtSample(interpolant, gl_SampleID)); 13 //color += vec4(0.0, 0.0, 0.0, interpolateAtCentroid(interpolant)); 15 color += vec4(0.0, 0.0, 0.0, dFdxCoarse(interpolant.x));
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/asm/frag/ |
D | pull-model-interpolation.asm.msl23.frag | 64 interpolant<float4, interpolation::no_perspective> foo [[user(locn0)]]; 65 interpolant<float3, interpolation::perspective> bar [[user(locn1)]]; 66 interpolant<float2, interpolation::perspective> baz [[user(locn2)]]; 68 interpolant<float2, interpolation::perspective> a_0 [[user(locn4)]]; 69 interpolant<float2, interpolation::perspective> a_1 [[user(locn5)]]; 70 interpolant<float2, interpolation::perspective> b_0 [[user(locn6)]]; 71 interpolant<float2, interpolation::perspective> b_1 [[user(locn7)]]; 72 interpolant<float2, interpolation::perspective> c_0 [[user(locn8)]]; 73 interpolant<float2, interpolation::perspective> c_1 [[user(locn9)]]; 74 interpolant<float4, interpolation::perspective> m_13_x [[user(locn10)]]; [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/asm/frag/ |
D | pull-model-interpolation.asm.msl23.frag | 64 interpolant<float4, interpolation::no_perspective> foo [[user(locn0)]]; 65 interpolant<float3, interpolation::perspective> bar [[user(locn1)]]; 66 interpolant<float2, interpolation::perspective> baz [[user(locn2)]]; 68 interpolant<float2, interpolation::perspective> a_0 [[user(locn4)]]; 69 interpolant<float2, interpolation::perspective> a_1 [[user(locn5)]]; 70 interpolant<float2, interpolation::perspective> b_0 [[user(locn6)]]; 71 interpolant<float2, interpolation::perspective> b_1 [[user(locn7)]]; 72 interpolant<float2, interpolation::perspective> c_0 [[user(locn8)]]; 73 interpolant<float2, interpolation::perspective> c_1 [[user(locn9)]]; 74 interpolant<float4, interpolation::perspective> m_13_x [[user(locn10)]]; [all …]
|
/third_party/boost/libs/math/doc/interpolators/ |
D | vector_barycentric_rational.qbk | 55 vector_barycentric_rational<decltype(t), decltype(y)> interpolant(std::move(t), std::move(y)); 57 To evaluate the interpolant, use 60 Eigen::Vector2d y = interpolant(t); 62 If you want to populate a vector passed into the interpolant, rather than get it returned, that syn… 65 interpolant(y, t); 69 To evaluate the derivative of the interpolant use 71 auto [y, y_prime] = interpolant.eval_with_prime(x);
|
D | barycentric_rational_interpolation.qbk | 55 boost::math::barycentric_rational<double> interpolant(std::move(x), std::move(y)); 61 boost::math::barycentric_rational<double> interpolant(std::move(x), std::move(y), 5); 63 To evaluate the interpolant, simply use 66 double y = interpolant(x); 70 double y = interpolant.prime(x); 72 If you no longer require the interpolant, then you can get your data back: 74 std::vector<double> xs = interpolant.return_x(); 75 std::vector<double> ys = interpolant.return_y(); 77 Be aware that once you return your data, the interpolant is *dead*.
|
D | pchip.qbk | 41 …interpolant takes non-equispaced data and interpolates between them via cubic Hermite polynomials … 42 The interpolant is /C/[super 1] and evaluation has [bigo](log(/N/)) complexity. 62 This interpolant can be updated in constant time.
|
D | cardinal_cubic_b_spline.qbk | 75 To evaluate the interpolant at a point, we simply use 79 and to evaluate the derivative of the interpolant we use 101 Each call the the interpolant is [bigo](1) (constant time). 106 Let /h/ be the stepsize. If /f/ is four-times continuously differentiable, then the interpolant is … 110 Since the interpolant obeys [role serif_italic s(x[sub j]) = f(x[sub j])] at all interpolation poin… 111 the tests generate random data and evaluate the interpolant at the interpolation points, 114 …t, linear, and quadratic functions are interpolated to ensure that the interpolant behaves as expe…
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | SetupProcessor.cpp | 86 for(int interpolant = 0; interpolant < MAX_INTERFACE_COMPONENTS; interpolant++) in update() local 88 state.gradient[interpolant] = fragmentShader->inputs[interpolant]; in update()
|
D | QuadRasterizer.cpp | 235 Float4 interpolant = D; in interpolate() local 239 interpolant += x * *Pointer<Float4>(planeEquation + OFFSET(PlaneEquation, A), 16); in interpolate() 243 interpolant *= rhw; in interpolate() 247 return interpolant; in interpolate()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | lower_vec_index_to_cond_assign.cpp | 145 ir_expression *const interpolant = expr->operands[0]->as_expression(); in convert_vector_extract_to_cond_assign() local 146 if (!interpolant || interpolant->operation != ir_binop_vector_extract) in convert_vector_extract_to_cond_assign() 149 ir_rvalue *vec_input = interpolant->operands[0]; in convert_vector_extract_to_cond_assign() 156 interpolant->operands[1], in convert_vector_extract_to_cond_assign()
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/frag/ |
D | pull-interpolant-access-chain.msl23.frag | 54 interpolant<float4, interpolation::perspective> a_0 [[user(locn0)]]; 55 interpolant<float4, interpolation::perspective> a_1 [[user(locn1)]]; 56 interpolant<float4, interpolation::perspective> b_0 [[user(locn2)]]; 57 interpolant<float4, interpolation::perspective> b_1 [[user(locn3)]];
|
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/ |
D | OES_shader_multisample_interpolation.txt | 296 qualification matching the precision of the "interpolant" argument to 299 float interpolateAtCentroid(float interpolant); 300 vec2 interpolateAtCentroid(vec2 interpolant); 301 vec3 interpolateAtCentroid(vec3 interpolant); 302 vec4 interpolateAtCentroid(vec4 interpolant); 304 float interpolateAtSample(float interpolant, int sample); 305 vec2 interpolateAtSample(vec2 interpolant, int sample); 306 vec3 interpolateAtSample(vec3 interpolant, int sample); 307 vec4 interpolateAtSample(vec4 interpolant, int sample); 309 float interpolateAtOffset(float interpolant, vec2 offset); [all …]
|
/third_party/openGLES/extensions/OES/ |
D | OES_shader_multisample_interpolation.txt | 306 qualification matching the precision of the "interpolant" argument to 309 float interpolateAtCentroid(float interpolant); 310 vec2 interpolateAtCentroid(vec2 interpolant); 311 vec3 interpolateAtCentroid(vec3 interpolant); 312 vec4 interpolateAtCentroid(vec4 interpolant); 314 float interpolateAtSample(float interpolant, int sample); 315 vec2 interpolateAtSample(vec2 interpolant, int sample); 316 vec3 interpolateAtSample(vec3 interpolant, int sample); 317 vec4 interpolateAtSample(vec4 interpolant, int sample); 319 float interpolateAtOffset(float interpolant, vec2 offset); [all …]
|
/third_party/openGLES/extensions/AMD/ |
D | AMD_shader_explicit_vertex_parameter.txt | 150 interpolateAtSample, and interpolateAtOffset is undefined if <interpolant> 158 …terpolateAtVertexAMD(genType | Returns the value of the input <interpolant> without | 159 …| interpolant, uint vertexIdx) | any interpolation. i.e. the raw output valu… 161 …| interpolant, uint vertexIdx) | vertex of the primitive the value of <inter… 163 …| interpolant, uint vertexIdx) | This return value is equivalent with interp… 164 …| | the input <interpolant> using the following…
|
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/ |
D | AMD_shader_explicit_vertex_parameter.txt | 150 interpolateAtSample, and interpolateAtOffset is undefined if <interpolant> 158 …terpolateAtVertexAMD(genType | Returns the value of the input <interpolant> without | 159 …| interpolant, uint vertexIdx) | any interpolation. i.e. the raw output valu… 161 …| interpolant, uint vertexIdx) | vertex of the primitive the value of <inter… 163 …| interpolant, uint vertexIdx) | This return value is equivalent with interp… 164 …| | the input <interpolant> using the following…
|
/third_party/glslang/Test/ |
D | hlsl.intrinsics.negative.vert | 36 // EvaluateAttributeAtCentroid(inF0); // expected error: only interpolant 37 // EvaluateAttributeAtSample(inF0, 2); // expected error: only interpolant 38 // EvaluateAttributeSnapped(inF0, int2(2)); // expected error: only interpolant 99 … // EvaluateAttributeAtCentroid(inF0); // expected error: only interpolant 100 … // EvaluateAttributeAtSample(inF0, 2); // expected error: only interpolant 101 … // EvaluateAttributeSnapped(inF0, int2(2)); // expected error: only interpolant 144 … // EvaluateAttributeAtCentroid(inF0); // expected error: only interpolant 145 … // EvaluateAttributeAtSample(inF0, 2); // expected error: only interpolant 146 … // EvaluateAttributeSnapped(inF0, int2(2)); // expected error: only interpolant 189 … // EvaluateAttributeAtCentroid(inF0); // expected error: only interpolant [all …]
|
D | hlsl.intrinsics.negative.comp | 20 // EvaluateAttributeAtCentroid(inF0); // expected error: only interpolant 21 // EvaluateAttributeAtSample(inF0, 2); // expected error: only interpolant 22 // EvaluateAttributeSnapped(inF0, int2(2)); // expected error: only interpolant 81 // EvaluateAttributeAtCentroid(inF0); // expected error: only interpolant 82 // EvaluateAttributeAtSample(inF0, 2); // expected error: only interpolant 83 // EvaluateAttributeSnapped(inF0, int2(2)); // expected error: only interpolant 126 … // EvaluateAttributeAtCentroid(inF0); // expected error: only interpolant 127 … // EvaluateAttributeAtSample(inF0, 2); // expected error: only interpolant 128 … // EvaluateAttributeSnapped(inF0, int2(2)); // expected error: only interpolant
|
/third_party/flutter/skia/src/sksl/ |
D | sksl_gpu.inc | 290 float interpolateAtSample(float interpolant, int sample); 291 float2 interpolateAtSample(float2 interpolant, int sample); 292 float3 interpolateAtSample(float3 interpolant, int sample); 293 float4 interpolateAtSample(float4 interpolant, int sample); 294 float interpolateAtOffset(float interpolant, float2 offset); 295 float2 interpolateAtOffset(float2 interpolant, float2 offset); 296 float3 interpolateAtOffset(float3 interpolant, float2 offset); 297 float4 interpolateAtOffset(float4 interpolant, float2 offset);
|
/third_party/skia/src/gpu/gradients/ |
D | README.md | 7 for an interpolant value "t" within the range [0.0, 1.0]. This encapsulates 23 stops. Both of these top-level effects delegate calculating the t interpolant to 29 layout processors need to generate an interpolant, not a color. So the 32 - `sk_OutColor.r`: computed t interpolant [0.0, 1.0], untiled
|