/third_party/boost/libs/compute/include/boost/compute/image/ |
D | image_sampler.hpp | 47 : m_sampler(0) in image_sampler() 68 m_sampler = clCreateSamplerWithProperties( in image_sampler() 72 m_sampler = clCreateSampler( in image_sampler() 77 if(!m_sampler){ in image_sampler() 83 : m_sampler(sampler) in image_sampler() 85 if(m_sampler && retain){ in image_sampler() 86 clRetainSampler(m_sampler); in image_sampler() 92 : m_sampler(other.m_sampler) in image_sampler() 94 if(m_sampler){ in image_sampler() 95 clRetainSampler(m_sampler); in image_sampler() [all …]
|
/third_party/boost/boost/compute/image/ |
D | image_sampler.hpp | 47 : m_sampler(0) in image_sampler() 68 m_sampler = clCreateSamplerWithProperties( in image_sampler() 72 m_sampler = clCreateSampler( in image_sampler() 77 if(!m_sampler){ in image_sampler() 83 : m_sampler(sampler) in image_sampler() 85 if(m_sampler && retain){ in image_sampler() 86 clRetainSampler(m_sampler); in image_sampler() 92 : m_sampler(other.m_sampler) in image_sampler() 94 if(m_sampler){ in image_sampler() 95 clRetainSampler(m_sampler); in image_sampler() [all …]
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | weighted_random_sampler_test.cc | 54 WeightedRandomSamplerRT m_sampler(weights, num_samples, true); in TEST_F() local 56 m_sampler.HandshakeRandomAccessOp(&dummyRandomAccessOp); in TEST_F() 60 ASSERT_EQ(m_sampler.GetNextSample(&row), Status::OK()); in TEST_F() 71 ASSERT_EQ(m_sampler.GetNextSample(&row), Status::OK()); in TEST_F() 83 WeightedRandomSamplerRT m_sampler(weights, num_samples, false); in TEST_F() local 85 m_sampler.HandshakeRandomAccessOp(&dummyRandomAccessOp); in TEST_F() 89 ASSERT_EQ(m_sampler.GetNextSample(&row), Status::OK()); in TEST_F() 106 ASSERT_EQ(m_sampler.GetNextSample(&row), Status::OK()); in TEST_F() 118 WeightedRandomSamplerRT m_sampler(weights, num_samples, true, samples_per_tensor); in TEST_F() local 120 m_sampler.HandshakeRandomAccessOp(&dummyRandomAccessOp); in TEST_F() [all …]
|
D | distributed_sampler_test.cc | 51 DistributedSamplerRT m_sampler(2, 0, false, num_samples, 0, -1, false); in TEST_F() local 53 m_sampler.HandshakeRandomAccessOp(&dummyRandomAccessOp); in TEST_F() 57 ASSERT_EQ(m_sampler.GetNextSample(&row), Status::OK()); in TEST_F() 66 ASSERT_EQ(m_sampler.GetNextSample(&row), Status::OK()); in TEST_F() 75 DistributedSamplerRT m_sampler(2, 1, false, num_samples, 0, -1, false); in TEST_F() local 77 m_sampler.HandshakeRandomAccessOp(&dummyRandomAccessOp); in TEST_F() 81 ASSERT_EQ(m_sampler.GetNextSample(&row), Status::OK()); in TEST_F() 91 ASSERT_EQ(m_sampler.GetNextSample(&row), Status::OK()); in TEST_F() 100 DistributedSamplerRT m_sampler(3, 2, false, num_samples, 0, -1, false); in TEST_F() local 102 m_sampler.HandshakeRandomAccessOp(&dummyRandomAccessOp); in TEST_F() [all …]
|
/third_party/vk-gl-cts/framework/randomshaders/ |
D | rsgSamplers.hpp | 39 , m_sampler () in Sampler2D() 45 , m_sampler (sampler) in Sampler2D() 51 return m_texture->sample(m_sampler, s, t, lod); in sample() 56 tcu::Sampler m_sampler; member in rsg::Sampler2D 64 , m_sampler () in SamplerCube() 70 , m_sampler (sampler) in SamplerCube() 76 return m_texture->sample(m_sampler, s, t, r, lod); in sample() 81 tcu::Sampler m_sampler; member in rsg::SamplerCube
|
D | rsgExpression.cpp | 1495 m_sampler = sampler; in TexLookup() 1498 …m_sampler = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamp… in TexLookup() 1609 str << m_sampler->getName(); in tokenize() 1666 const Sampler2D& tex = execCtx.getSampler2D(m_sampler); in evaluate() 1682 const Sampler2D& tex = execCtx.getSampler2D(m_sampler); in evaluate() 1698 const Sampler2D& tex = execCtx.getSampler2D(m_sampler); in evaluate() 1715 const Sampler2D& tex = execCtx.getSampler2D(m_sampler); in evaluate() 1732 const SamplerCube& tex = execCtx.getSamplerCube(m_sampler); in evaluate() 1749 const SamplerCube& tex = execCtx.getSamplerCube(m_sampler); in evaluate()
|
D | rsgExpression.hpp | 280 const Variable* m_sampler; member in rsg::TexLookup
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cSampleShadingTests.cpp | 170 GLenum internalFormat, tcu::TextureFormat const& texFormat, const char* m_sampler, 182 std::string m_sampler; member in glcts::SampleShadingRenderCase 210 , m_sampler(sampler) in SampleShadingRenderCase() 305 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion, m_sampler, m_outType).c_str(), in iterate() 306 specializeVersion(fss, m_glslVersion, m_sampler, m_outType).c_str())); in iterate() 369 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion, m_sampler, m_outType).c_str(), in iterate() 370 specializeVersion(fss, m_glslVersion, m_sampler, m_outType).c_str())); in iterate() 489 std::string m_sampler; member in glcts::SampleShadingRenderFormatTests 505 , m_sampler(sampler) in SampleShadingRenderFormatTests() 521 m_internalFormat, m_texFormat, m_sampler.c_str(), m_outType.c_str(), m_min, in init() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderMultisampleInterpolationTests.cpp | 218 tcu::TextureFormat const& texFormat, const char* m_sampler, 232 std::string m_sampler; member in deqp::ShaderMultisampleInterpolationBaseCase 261 , m_sampler(sampler) in ShaderMultisampleInterpolationBaseCase() 382 …specializeVersion(vss, m_glslVersion, m_sampler, m_outType, m_qualifier, m_assignment, m_condition) in iterate() 384 …specializeVersion(fss, m_glslVersion, m_sampler, m_outType, m_qualifier, m_assignment, m_condition) in iterate() 451 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion, m_sampler, m_outType).c_str(), in iterate() 452 specializeVersion(fss, m_glslVersion, m_sampler, m_outType).c_str())); in iterate()
|
D | glcSampleVariablesTests.cpp | 192 std::string m_sampler; member in deqp::SampleShadingMaskCase 213 , m_sampler(sampler) in SampleShadingMaskCase() 356 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion, m_sampler, m_outType).c_str(), in iterate() 357 specializeVersion(fss, m_glslVersion, m_sampler, m_outType).c_str())); in iterate() 425 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion, m_sampler, m_outType).c_str(), in iterate() 426 specializeVersion(fss, m_glslVersion, m_sampler, m_outType).c_str())); in iterate()
|
D | glcShaderRenderCase.hpp | 126 return m_sampler; in getSampler() 156 tcu::Sampler m_sampler; member in deqp::TextureBinding
|
D | glcShaderRenderCase.cpp | 79 : m_type(TYPE_2D), m_sampler(sampler) in TextureBinding() 85 : m_type(TYPE_CUBE_MAP), m_sampler(sampler) in TextureBinding() 91 : m_type(TYPE_2D_ARRAY), m_sampler(sampler) in TextureBinding() 97 : m_type(TYPE_3D), m_sampler(sampler) in TextureBinding() 108 : m_type(TYPE_CUBE_MAP_ARRAY), m_sampler(sampler) in TextureBinding() 115 m_sampler = sampler; in setSampler()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cES31CompatibilitySampleVariablesTests.cpp | 199 std::string m_sampler; member in gl4cts::es31compatibility::SampleShadingMaskCase 220 , m_sampler(sampler) in SampleShadingMaskCase() 354 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion, m_sampler, m_outType).c_str(), in iterate() 355 specializeVersion(fss, m_glslVersion, m_sampler, m_outType).c_str())); in iterate() 423 glu::makeVtxFragSources(specializeVersion(vss, m_glslVersion, m_sampler, m_outType).c_str(), in iterate() 424 specializeVersion(fss, m_glslVersion, m_sampler, m_outType).c_str())); in iterate()
|
D | gl3cTextureSwizzleTests.cpp | 220 const _sampler& m_sampler; member 2810 Utils::replaceToken("PREFIX", position, source_format.m_sampler.m_sampler_prefix, fs); in getFragmentShader() 2812 Utils::replaceToken("BASIC_TYPE", position, output_format.m_sampler.m_basic_type, fs); in getFragmentShader() 2813 Utils::replaceToken("BASIC_TYPE", position, source_format.m_sampler.m_basic_type, fs); in getFragmentShader() 2822 Utils::replaceToken("BASIC_TYPE", position, source_format.m_sampler.m_basic_type, fs); in getFragmentShader() 2823 Utils::replaceToken("BASIC_TYPE", position, output_format.m_sampler.m_basic_type, fs); in getFragmentShader() 2887 Utils::replaceToken("PREFIX", position, source_format.m_sampler.m_sampler_prefix, vs); in getVertexShader() 2889 Utils::replaceToken("BASIC_TYPE", position, source_format.m_sampler.m_basic_type, vs); in getVertexShader() 4109 Utils::replaceToken("PREFIX", position, format.m_sampler.m_sampler_prefix, fs); in iterate() 4110 Utils::replaceToken("PREFIX", position, format.m_sampler.m_sampler_prefix, fs); in iterate()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderRenderCase.hpp | 101 const tcu::Sampler& getSampler (void) const { return m_sampler; } in getSampler() 109 tcu::Sampler m_sampler; member in deqp::gls::TextureBinding
|
D | glsShaderRenderCase.cpp | 71 , m_sampler (sampler) in TextureBinding() 78 , m_sampler (sampler) in TextureBinding() 85 , m_sampler (sampler) in TextureBinding() 92 , m_sampler (sampler) in TextureBinding() 105 m_sampler = sampler; in setSampler()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsicsSampled.cpp | 525 Move<VkSampler> m_sampler; member in vkt::sparse::SparseShaderIntrinsicsInstanceSampledBase 718 m_sampler = createSampler(deviceInterface, getDevice(), &samplerCreateInfo); in recordCommands() 853 …const VkDescriptorImageInfo imageSparseDescInfo = makeDescriptorImageInfo(*m_sampler, **imageSpars… in recordCommands()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryBasicGeometryShaderTests.cpp | 225 Move<VkSampler> m_sampler; member in vkt::geometry::__anon6b547f340111::VaryingOutputCountTestInstance 379 m_sampler = createSampler(vk, device, &samplerParams); in bindDescriptorSets() 398 …const VkDescriptorImageInfo descriptorImageInfo = makeDescriptorImageInfo (*m_sampler, *m_imageVie… in bindDescriptorSets()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageSamplingInstance.hpp | 136 vk::Move<vk::VkSampler> m_sampler; member in vkt::pipeline::ImageSamplingInstance
|
D | vktPipelineImageSamplingInstance.cpp | 514 m_sampler = createSampler(vk, vkDevice, &m_samplerParams); in ImageSamplingInstance() 543 …onst VkSampler sampler = m_samplingType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE ? DE_NULL : *m_sampler; in ImageSamplingInstance() 557 *m_sampler, // VkSampler sampler; in ImageSamplingInstance()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 303 , m_sampler (sampler) in TextureBinding() 315 , m_sampler (sampler) in TextureBinding() 322 , m_sampler (sampler) in TextureBinding() 329 , m_sampler (sampler) in TextureBinding() 336 , m_sampler (sampler) in TextureBinding() 343 , m_sampler (sampler) in TextureBinding() 350 , m_sampler (sampler) in TextureBinding() 357 , m_sampler (sampler) in TextureBinding()
|
D | vktShaderRender.hpp | 140 const tcu::Sampler& getSampler (void) const { return m_sampler; } in getSampler() 160 tcu::Sampler m_sampler; member in vkt::sr::TextureBinding
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringExplicitLodTests.cpp | 536 Move<VkSampler> m_sampler; member in vkt::texture::__anon57b5011e0111::TextureFilteringTestInstance 830 m_sampler = createSampler(vkd, device, &samplerCreateInfo); in createResources() 885 *m_sampler, in createResources()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
D | sglrReferenceContext.hpp | 101 const tcu::Sampler& getSampler (void) const { return m_sampler; } in getSampler() 102 tcu::Sampler& getSampler (void) { return m_sampler; } in getSampler() 109 tcu::Sampler m_sampler; member in sglr::rc::Texture
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationOrderAttachmentAccessTests.cpp | 339 Move<VkSampler> m_sampler; member in vkt::rasterization::__anonce2dca4c0111::AttachmentAccessOrderTestInstance 1117 img_info.sampler = *m_sampler; in writeDescriptorSets() 1316 m_sampler = makeSampler(m_vk, device); in AttachmentAccessOrderTestInstance()
|