/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | SamplerHeapCacheD3D12.cpp | 29 SamplerHeapCacheEntry::SamplerHeapCacheEntry(std::vector<Sampler*> samplers) in SamplerHeapCacheEntry() argument 30 : mSamplers(std::move(samplers)) { in SamplerHeapCacheEntry() 35 std::vector<Sampler*> samplers, in SamplerHeapCacheEntry() argument 38 mSamplers(std::move(samplers)), in SamplerHeapCacheEntry() 100 std::vector<Sampler*> samplers; in GetOrCreate() local 101 samplers.reserve(bgl->GetSamplerDescriptorCount()); in GetOrCreate() 107 samplers.push_back(ToBackend(group->GetBindingAsSampler(bindingIndex))); in GetOrCreate() 113 SamplerHeapCacheEntry blueprint(std::move(samplers)); in GetOrCreate() 121 samplers = std::move(blueprint.AcquireSamplers()); in GetOrCreate() 129 for (uint32_t i = 0; i < samplers.size(); ++i) { in GetOrCreate() [all …]
|
D | SamplerHeapCacheD3D12.h | 48 SamplerHeapCacheEntry(std::vector<Sampler*> samplers); 51 std::vector<Sampler*> samplers,
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_compositor_cs.c | 650 struct pipe_sampler_view **samplers) in set_viewport() argument 683 if (samplers[1]) { in set_viewport() 684 float h_ratio = samplers[1]->texture->width0 / in set_viewport() 685 (float) samplers[0]->texture->width0; in set_viewport() 687 float v_ratio = samplers[1]->texture->height0 / in set_viewport() 688 (float) samplers[0]->texture->height0; in set_viewport() 708 struct pipe_sampler_view **samplers = &layer->sampler_views[0]; in draw_layers() local 709 unsigned num_sampler_views = !samplers[1] ? 1 : !samplers[2] ? 2 : 3; in draw_layers() 725 set_viewport(s, &drawn, samplers); in draw_layers() 728 num_sampler_views, layer->samplers); in draw_layers() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | samplerobj.h | 99 _mesa_GenSamplers_no_error(GLsizei count, GLuint *samplers); 102 _mesa_GenSamplers(GLsizei count, GLuint *samplers); 105 _mesa_CreateSamplers_no_error(GLsizei count, GLuint *samplers); 108 _mesa_CreateSamplers(GLsizei count, GLuint *samplers); 111 _mesa_DeleteSamplers_no_error(GLsizei count, const GLuint *samplers); 114 _mesa_DeleteSamplers(GLsizei count, const GLuint *samplers); 126 _mesa_BindSamplers_no_error(GLuint first, GLsizei count, const GLuint *samplers); 129 _mesa_BindSamplers(GLuint first, GLsizei count, const GLuint *samplers);
|
D | samplerobj.c | 173 create_samplers(struct gl_context *ctx, GLsizei count, GLuint *samplers, in create_samplers() argument 178 if (!samplers) in create_samplers() 183 _mesa_HashFindFreeKeys(ctx->Shared->SamplerObjects, samplers, count); in create_samplers() 189 sampObj = ctx->Driver.NewSamplerObject(ctx, samplers[i]); in create_samplers() 196 _mesa_HashInsertLocked(ctx->Shared->SamplerObjects, samplers[i], in create_samplers() 204 create_samplers_err(struct gl_context *ctx, GLsizei count, GLuint *samplers, in create_samplers_err() argument 216 create_samplers(ctx, count, samplers, caller); in create_samplers_err() 220 _mesa_GenSamplers_no_error(GLsizei count, GLuint *samplers) in _mesa_GenSamplers_no_error() argument 223 create_samplers(ctx, count, samplers, "glGenSamplers"); in _mesa_GenSamplers_no_error() 227 _mesa_GenSamplers(GLsizei count, GLuint *samplers) in _mesa_GenSamplers() argument [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/ |
D | cso_context.c | 60 void *samplers[PIPE_MAX_SAMPLERS]; member 84 struct sampler_info samplers[PIPE_SHADER_TYPES]; member 192 struct cso_sampler *sampler = ctx->samplers[i].cso_samplers[j]; in sanitize_hash() 392 memset(&ctx->samplers, 0, sizeof(ctx->samplers)); in cso_unbind_context() 988 struct sampler_info *info = &ctx->samplers[PIPE_SHADER_COMPUTE]; in cso_save_compute_samplers() 993 memcpy(saved->samplers, info->samplers, sizeof(info->samplers)); in cso_save_compute_samplers() 1000 struct sampler_info *info = &ctx->samplers[PIPE_SHADER_COMPUTE]; in cso_restore_compute_samplers() 1005 memcpy(info->samplers, saved->samplers, sizeof(info->samplers)); in cso_restore_compute_samplers() 1008 if (info->samplers[i]) { in cso_restore_compute_samplers() 1232 ctx->samplers[shader_stage].cso_samplers[idx] = cso; in cso_set_sampler() [all …]
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_descriptors.c | 208 static void si_release_sampler_views(struct si_samplers *samplers) in si_release_sampler_views() argument 212 for (i = 0; i < ARRAY_SIZE(samplers->views); i++) { in si_release_sampler_views() 213 pipe_sampler_view_reference(&samplers->views[i], NULL); in si_release_sampler_views() 236 static void si_sampler_views_begin_new_cs(struct si_context *sctx, struct si_samplers *samplers) in si_sampler_views_begin_new_cs() argument 238 unsigned mask = samplers->enabled_mask; in si_sampler_views_begin_new_cs() 243 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; in si_sampler_views_begin_new_cs() 250 static bool si_sampler_views_check_encrypted(struct si_context *sctx, struct si_samplers *samplers, in si_sampler_views_check_encrypted() argument 253 unsigned mask = samplers->enabled_mask & samplers_declared; in si_sampler_views_check_encrypted() 258 struct si_sampler_view *sview = (struct si_sampler_view *)samplers->views[i]; in si_sampler_views_check_encrypted() 503 static void si_reset_sampler_view_slot(struct si_samplers *samplers, unsigned slot, in si_reset_sampler_view_slot() argument [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.h | 168 struct draw_jit_sampler samplers[PIPE_MAX_SAMPLERS]; member 272 struct draw_jit_sampler samplers[PIPE_MAX_SAMPLERS]; member 353 struct draw_jit_sampler samplers[PIPE_MAX_SAMPLERS]; member 407 struct draw_jit_sampler samplers[PIPE_MAX_SAMPLERS]; member 531 struct draw_sampler_static_state samplers[1]; member 540 struct draw_sampler_static_state samplers[1]; member 552 struct draw_sampler_static_state samplers[1]; member 623 struct draw_sampler_static_state *samplers = (struct draw_sampler_static_state *) in draw_llvm_variant_key_images() local 626 &samplers[key->nr_samplers]; in draw_llvm_variant_key_images() 633 &key->samplers[key->nr_samplers]; in draw_gs_llvm_variant_key_images() [all …]
|
D | draw_pipe_pstipple.c | 91 void *samplers[PIPE_MAX_SAMPLERS]; member 216 pstip->state.samplers[pstip->fs->sampler_unit] = pstip->sampler_cso; in pstip_first_tri() 225 num_samplers, pstip->state.samplers); in pstip_first_tri() 255 pstip->state.samplers); in pstip_flush() 406 memcpy(pstip->state.samplers, sampler, num * sizeof(void *)); in pstip_bind_sampler_states() 408 pstip->state.samplers[i] = NULL; in pstip_bind_sampler_states()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | DrawTester.hpp | 105 samplers.push_back(sampler); in addSampler() 106 return { samplers.size() - 1, samplers.back() }; in addSampler() 111 return samplers[id]; in getSamplerById() 167 std::vector<vk::Sampler> samplers; // Owning handles member in DrawTester
|
/third_party/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_mlaa.c | 134 const struct pipe_sampler_state *samplers[] = {&p->sampler_point}; in pp_jimenezmlaa_run() local 135 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 1, samplers); in pp_jimenezmlaa_run() 163 const struct pipe_sampler_state *samplers[] = in pp_jimenezmlaa_run() local 165 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 3, samplers); in pp_jimenezmlaa_run() 195 const struct pipe_sampler_state *samplers[] = in pp_jimenezmlaa_run() local 197 cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 2, samplers); in pp_jimenezmlaa_run()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DPipelineState.cpp | 100 std::vector<D3D12_CPU_DESCRIPTOR_HANDLE> samplers(fNumSamplers); in setAndBindTextures() local 108 samplers[currTextureBinding++] = in setAndBindTextures() 116 samplers[currTextureBinding++] = gpu->resourceProvider().findOrCreateCompatibleSampler( in setAndBindTextures() 125 samplers[currTextureBinding++] = in setAndBindTextures() 138 gpu->resourceProvider().findOrCreateSamplerTable(samplers); in setAndBindTextures()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv40_verttex.c | 38 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit]; in nv40_verttex_validate() 59 nv30->vertprog.samplers[i] = hwcso[i]; in nv40_verttex_sampler_states_bind() 64 nv30->vertprog.samplers[i] = NULL; in nv40_verttex_sampler_states_bind()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_sampler.c | 174 struct pipe_sampler_state *samplers, in update_shader_samplers() argument 191 if (!samplers) in update_shader_samplers() 192 samplers = local_samplers; in update_shader_samplers() 198 struct pipe_sampler_state *sampler = samplers + unit; in update_shader_samplers() 224 struct pipe_sampler_state *sampler = samplers + unit; in update_shader_samplers()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_sampler.c | 55 void **samplers) in softpipe_bind_sampler_states() argument 61 assert(start + num <= ARRAY_SIZE(softpipe->samplers[shader])); in softpipe_bind_sampler_states() 67 softpipe->samplers[shader][start + i] = samplers[i]; in softpipe_bind_sampler_states() 73 while (j > 0 && softpipe->samplers[shader][j - 1] == NULL) in softpipe_bind_sampler_states() 81 softpipe->samplers[shader], in softpipe_bind_sampler_states()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/ |
D | ResolveDepthStencil.hlsl | 27 // MS samplers must use Load 38 // MS samplers must use Load 50 // MS samplers must use Load
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/ |
D | ResolveDepthStencil.hlsl | 27 // MS samplers must use Load 38 // MS samplers must use Load 50 // MS samplers must use Load
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_descriptor_set.c | 76 set->samplers = vk_zalloc(&device->vk.alloc, in panvk_per_arch() 79 if (!set->samplers) in panvk_per_arch() 108 vk_free(&device->vk.alloc, set->samplers); in panvk_per_arch() 221 struct mali_sampler_packed *samplers = set->samplers; in panvk_per_arch() local 253 panvk_set_sampler_desc(&samplers[sampler], info); in panvk_per_arch()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libGL/ |
D | entry_points_gl_4_4_autogen.cpp | 101 void GL_APIENTRY BindSamplers(GLuint first, GLsizei count, const GLuint *samplers) in BindSamplers() argument 104 first, count, (uintptr_t)samplers); in BindSamplers() 111 (context->skipValidation() || ValidateBindSamplers(context, first, count, samplers)); in BindSamplers() 114 context->bindSamplers(first, count, samplers); in BindSamplers() 116 ANGLE_CAPTURE(BindSamplers, isCallValid, context, first, count, samplers); in BindSamplers()
|
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl/frag/ |
D | sampler-image-arrays.frag | 10 vec4 sample_from_argument(sampler2D samplers[4]) 12 return texture(samplers[vIndex], vTex + 0.2);
|
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/frag/ |
D | sampler-image-arrays.msl2.frag | 10 vec4 sample_from_argument(sampler2D samplers[4]) 12 return texture(samplers[vIndex], vTex + 0.2);
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_sampler.c | 73 void **samplers) in llvmpipe_bind_sampler_states() argument 79 assert(start + num <= ARRAY_SIZE(llvmpipe->samplers[shader])); in llvmpipe_bind_sampler_states() 87 if (samplers && samplers[i]) in llvmpipe_bind_sampler_states() 88 sampler = samplers[i]; in llvmpipe_bind_sampler_states() 89 llvmpipe->samplers[shader][start + i] = sampler; in llvmpipe_bind_sampler_states() 95 while (j > 0 && llvmpipe->samplers[shader][j - 1] == NULL) in llvmpipe_bind_sampler_states() 106 llvmpipe->samplers[shader], in llvmpipe_bind_sampler_states()
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_yuv.c | 72 struct pipe_sampler_state *samplers[3]; in xa_yuv_bind_samplers() local 87 samplers[i] = &sampler; in xa_yuv_bind_samplers() 95 cso_set_samplers(r->cso, PIPE_SHADER_FRAGMENT, 3, (const struct pipe_sampler_state **)samplers); in xa_yuv_bind_samplers()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_descriptor_set.c | 160 struct tu_sampler *samplers = (void*) &set_layout->binding[num_bindings]; in tu_CreateDescriptorSetLayout() local 162 (void*) &samplers[immutable_sampler_count]; in tu_CreateDescriptorSetLayout() 217 samplers[i] = *tu_sampler_from_handle(binding->pImmutableSamplers[i]); in tu_CreateDescriptorSetLayout() 219 samplers += binding->descriptorCount; in tu_CreateDescriptorSetLayout() 539 const struct tu_sampler *samplers = in tu_descriptor_set_create() local 543 memcpy(set->mapped_ptr + offset, samplers[j].descriptor, in tu_descriptor_set_create() 544 sizeof(samplers[j].descriptor)); in tu_descriptor_set_create() 931 const struct tu_sampler *samplers = in tu_update_descriptor_sets() local 976 … write_sampler_push(ptr + A6XX_TEX_CONST_DWORDS, &samplers[writeset->dstArrayElement + j]); in tu_update_descriptor_sets() 982 write_sampler_push(ptr, &samplers[writeset->dstArrayElement + j]); in tu_update_descriptor_sets() [all …]
|
/third_party/mindspore/mindspore/lite/tools/dataset/cropper/ |
D | associations.txt | 1 …samplers/pk_sampler_ir.cc", "randomsampler": "mindspore/ccsrc/minddata/dataset/engine/ir/datasetop…
|