Home
last modified time | relevance | path

Searched refs:kClamp (Results 1 – 25 of 69) sorted by relevance

123

/external/skqp/include/gpu/
DGrSamplerState.h19 enum class WrapMode : uint8_t { kClamp, kRepeat, kMirrorRepeat, kClampToBorder }; enumerator
23 return GrSamplerState(WrapMode::kClamp, Filter::kBilerp); in ClampBilerp()
26 constexpr GrSamplerState() : GrSamplerState(WrapMode::kClamp, Filter::kNearest) {} in GrSamplerState()
54 return (WrapMode::kClamp != fWrapModes[0] && WrapMode::kClampToBorder != fWrapModes[0]) || in isRepeated()
55 (WrapMode::kClamp != fWrapModes[1] && WrapMode::kClampToBorder != fWrapModes[1]); in isRepeated()
/external/skia/include/gpu/
DGrSamplerState.h19 enum class WrapMode : uint8_t { kClamp, kRepeat, kMirrorRepeat, kClampToBorder }; enumerator
23 return GrSamplerState(WrapMode::kClamp, Filter::kBilerp); in ClampBilerp()
26 constexpr GrSamplerState() : GrSamplerState(WrapMode::kClamp, Filter::kNearest) {} in GrSamplerState()
54 return (WrapMode::kClamp != fWrapModes[0] && WrapMode::kClampToBorder != fWrapModes[0]) || in isRepeated()
55 (WrapMode::kClamp != fWrapModes[1] && WrapMode::kClampToBorder != fWrapModes[1]); in isRepeated()
/external/skqp/src/gpu/effects/
DGrSimpleTextureEffect.fp28 … GrSamplerState(GrSamplerState::WrapMode::kClamp, GrSamplerState::Filter::kNearest)));
37 GrSamplerState(GrSamplerState::WrapMode::kClamp, filter)));
66 wrapModes[0] = GrSamplerState::WrapMode::kClamp;
67 wrapModes[1] = GrSamplerState::WrapMode::kClamp;
DGrBicubicEffect.cpp146 SkASSERT(fTextureSampler.samplerState().wrapModeX() == GrSamplerState::WrapMode::kClamp && in GrBicubicEffect()
147 fTextureSampler.samplerState().wrapModeY() == GrSamplerState::WrapMode::kClamp); in GrBicubicEffect()
181 static const GrSamplerState::WrapMode kClampClamp[] = {GrSamplerState::WrapMode::kClamp, in TestCreate()
182 GrSamplerState::WrapMode::kClamp}; in TestCreate()
DGrSimpleTextureEffect.h24 GrSamplerState(GrSamplerState::WrapMode::kClamp, in Make()
34 GrSamplerState(GrSamplerState::WrapMode::kClamp, filter))); in Make()
DGrSimpleTextureEffect.cpp77 wrapModes[0] = GrSamplerState::WrapMode::kClamp; in TestCreate()
78 wrapModes[1] = GrSamplerState::WrapMode::kClamp; in TestCreate()
DGrYUVtoRGBEffect.h43 GrSamplerState(GrSamplerState::WrapMode::kClamp, filterModes[i])); in GrYUVtoRGBEffect()
DGrGaussianConvolutionFragmentProcessor.cpp227 SkASSERT(fTextureSampler.samplerState().wrapModeX() == GrSamplerState::WrapMode::kClamp && in GrGaussianConvolutionFragmentProcessor()
228 fTextureSampler.samplerState().wrapModeY() == GrSamplerState::WrapMode::kClamp); in GrGaussianConvolutionFragmentProcessor()
/external/skia/src/gpu/effects/
DGrSimpleTextureEffect.fp28 … GrSamplerState(GrSamplerState::WrapMode::kClamp, GrSamplerState::Filter::kNearest)));
37 GrSamplerState(GrSamplerState::WrapMode::kClamp, filter)));
66 wrapModes[0] = GrSamplerState::WrapMode::kClamp;
67 wrapModes[1] = GrSamplerState::WrapMode::kClamp;
DGrSimpleTextureEffect.h24 GrSamplerState(GrSamplerState::WrapMode::kClamp, in Make()
34 GrSamplerState(GrSamplerState::WrapMode::kClamp, filter))); in Make()
DGrBicubicEffect.h67 GrSamplerState::WrapMode::kClamp, GrSamplerState::WrapMode::kClamp}; in Make()
DGrSimpleTextureEffect.cpp77 wrapModes[0] = GrSamplerState::WrapMode::kClamp; in TestCreate()
78 wrapModes[1] = GrSamplerState::WrapMode::kClamp; in TestCreate()
DGrBicubicEffect.cpp164 static const GrSamplerState::WrapMode kClampClamp[] = {GrSamplerState::WrapMode::kClamp, in TestCreate()
165 GrSamplerState::WrapMode::kClamp}; in TestCreate()
DGrYUVtoRGBEffect.h43 GrSamplerState(GrSamplerState::WrapMode::kClamp, filterModes[i])); in GrYUVtoRGBEffect()
DGrGaussianConvolutionFragmentProcessor.cpp227 SkASSERT(fTextureSampler.samplerState().wrapModeX() == GrSamplerState::WrapMode::kClamp && in GrGaussianConvolutionFragmentProcessor()
228 fTextureSampler.samplerState().wrapModeY() == GrSamplerState::WrapMode::kClamp); in GrGaussianConvolutionFragmentProcessor()
/external/skqp/src/gpu/
DGrTextureProducer.cpp73 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu()
211 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, *filterOrNullForBicubic); in CreateFragmentProcessorForDomainAndFilter()
219 GrSamplerState::WrapMode::kClamp, GrSamplerState::WrapMode::kClamp}; in CreateFragmentProcessorForDomainAndFilter()
258 GrSamplerState sampler(GrSamplerState::WrapMode::kClamp, filter); in refTextureProxy()
DGrFragmentProcessor.h417 GrSamplerState::WrapMode wrapXAndY = GrSamplerState::WrapMode::kClamp);
424 GrSamplerState::WrapMode wrapXAndY = GrSamplerState::WrapMode::kClamp);
DGrTextureProducer.h91 GrSamplerState(GrSamplerState::WrapMode::kClamp, filter), scaleAdjust); in refTextureProxyForParams()
/external/skia/src/gpu/
DGrTextureProducer.cpp76 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu()
218 : GrSamplerState::WrapMode::kClamp; in createFragmentProcessorForDomainAndFilter()
224 GrSamplerState::WrapMode::kClamp, GrSamplerState::WrapMode::kClamp}; in createFragmentProcessorForDomainAndFilter()
291 GrSamplerState sampler(GrSamplerState::WrapMode::kClamp, filter); in refTextureProxy()
DGrFragmentProcessor.h423 GrSamplerState::WrapMode wrapXAndY = GrSamplerState::WrapMode::kClamp);
430 GrSamplerState::WrapMode wrapXAndY = GrSamplerState::WrapMode::kClamp);
/external/skqp/src/shaders/
DSkImageShader.cpp171 return GrSamplerState::WrapMode::kClamp; in tile_mode_to_wrap_mode()
180 return GrSamplerState::WrapMode::kClamp; in tile_mode_to_wrap_mode()
202 wrapModes[0] = GrSamplerState::WrapMode::kClamp; in asFragmentProcessor()
206 wrapModes[1] = GrSamplerState::WrapMode::kClamp; in asFragmentProcessor()
/external/skia/src/shaders/
DSkImageShader.cpp176 return GrSamplerState::WrapMode::kClamp; in tile_mode_to_wrap_mode()
185 return GrSamplerState::WrapMode::kClamp; in tile_mode_to_wrap_mode()
207 wrapModes[0] = GrSamplerState::WrapMode::kClamp; in asFragmentProcessor()
211 wrapModes[1] = GrSamplerState::WrapMode::kClamp; in asFragmentProcessor()
/external/tensorflow/tensorflow/compiler/xla/service/
Dshape_inference_test.cc166 HloOpcode::kClamp, matrix_64_48_, matrix_64_48_, matrix_64_48_); in TEST_F()
173 ShapeInference::InferTernaryOpShape(HloOpcode::kClamp, f32_, f32_, f32_); in TEST_F()
180 HloOpcode::kClamp, f32_, matrix_64_48_, matrix_64_48_); in TEST_F()
187 HloOpcode::kClamp, matrix_64_48_, matrix_64_48_, f32_); in TEST_F()
194 HloOpcode::kClamp, matrix_64_48_, f32_, matrix_64_48_); in TEST_F()
201 HloOpcode::kClamp, matrix_64_48_, f32_, f32_); in TEST_F()
208 HloOpcode::kClamp, f32_, f32_, matrix_64_48_); in TEST_F()
215 HloOpcode::kClamp, f32_, matrix_64_48_, f32_); in TEST_F()
223 ShapeInference::InferTernaryOpShape(HloOpcode::kClamp, s32_, f32_, f32_) in TEST_F()
226 ShapeInference::InferTernaryOpShape(HloOpcode::kClamp, f32_, s32_, f32_) in TEST_F()
[all …]
Dbfloat16_support.cc84 case HloOpcode::kClamp: in EffectiveOperandPrecisionIsOutputPrecision()
/external/skia/src/gpu/mtl/
DGrMtlSampler.mm15 case GrSamplerState::WrapMode::kClamp:

123