Home
last modified time | relevance | path

Searched refs:sampler_count (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/intel/vulkan/
Danv_pipeline_cache.c94 bind_map->sampler_count); in anv_shader_bin_create()
177 bind_map->sampler_count); in anv_shader_bin_create()
221 blob_write_uint32(blob, shader->bind_map.sampler_count); in anv_shader_bin_serialize()
226 shader->bind_map.sampler_count * in anv_shader_bin_serialize()
273 bind_map.sampler_count = blob_read_uint32(blob); in anv_shader_bin_deserialize()
278 blob_read_bytes(blob, bind_map.sampler_count * in anv_shader_bin_deserialize()
Danv_nir_apply_pipeline_layout.c1570 if (map->sampler_count + array_size > MAX_SAMPLER_TABLE_SIZE || in anv_nir_apply_pipeline_layout()
1583 state.set[set].sampler_offsets[b] = map->sampler_count; in anv_nir_apply_pipeline_layout()
1588 map->sampler_to_descriptor[map->sampler_count++] = in anv_nir_apply_pipeline_layout()
1673 assert(map->sampler_count == 0); in anv_nir_apply_pipeline_layout()
1684 map->sampler_count * sizeof(struct anv_pipeline_binding), in anv_nir_apply_pipeline_layout()
Danv_pipeline.c2713 .sampler_count = 0, in anv_device_init_rt_shaders()
2771 .sampler_count = 0, in anv_device_init_rt_shaders()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c119 set_layout->binding[b].stage[s].sampler_index = set_layout->stage[s].sampler_count; in lvp_CreateDescriptorSetLayout()
120 set_layout->stage[s].sampler_count += binding->descriptorCount; in lvp_CreateDescriptorSetLayout()
195 uint16_t sampler_count = 0; in lvp_CreateDescriptorSetLayout() local
201 sampler_count += set_layout->stage[i].sampler_count; in lvp_CreateDescriptorSetLayout()
207 assert(sampler_count <= device->physical_device->device_limits.maxPerStageDescriptorSamplers); in lvp_CreateDescriptorSetLayout()
264 uint16_t sampler_count = 0; in lvp_CreatePipelineLayout() local
277 sampler_count += set_layout->stage[i].sampler_count; in lvp_CreatePipelineLayout()
284 assert(sampler_count <= device->physical_device->device_limits.maxPerStageDescriptorSamplers); in lvp_CreatePipelineLayout()
Dlvp_lower_vulkan_resource.c201 value += get_set_layout(layout, s)->stage[stage].sampler_count; in lower_vri_instr_tex_deref()
370 value += get_set_layout(layout, s)->stage[shader->info.stage].sampler_count; in lvp_lower_pipeline_layout()
Dlvp_private.h311 uint16_t sampler_count; member
Dlvp_execute.c1038 uint16_t sampler_count; member
1086 ss_idx += dyn_info->stage[stage].sampler_count; in fill_sampler_stage()
1430 dyn_info->stage[stage].sampler_count += layout->stage[stage].sampler_count; in increment_dyn_info()
/third_party/mesa3d/src/panfrost/midgard/
Ddisassemble.h9 signed sampler_count; member
Ddisassemble.c1780 ctx->midg_stats.sampler_count = -16; in print_texture_word()
1783 update_stats(&ctx->midg_stats.sampler_count, texture->sampler_handle); in print_texture_word()
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.h229 rsd->shader.sampler_count = shader_info->sampler_count; in pan_shader_prepare_rsd()
Dpan_shader.c320 info->sampler_count = info->texture_count = BITSET_LAST_BIT(s->info.textures_used); in GENX()
/third_party/mesa3d/src/panfrost/lib/genxml/
Ddecode.c744 bool has_sampler = (stats.sampler_count > 0); in pandecode_blend_shader_disassemble()
805 pandecode_samplers(mali_ptr samplers, unsigned sampler_count, int job_no) in pandecode_samplers() argument
810 for (int i = 0; i < sampler_count; ++i) in pandecode_samplers()
846 int texture_count = 0, sampler_count = 0; in pandecode_dcd() local
870 sampler_count = state.shader.sampler_count; in pandecode_dcd()
960 pandecode_samplers(p->samplers, sampler_count, job_no); in pandecode_dcd()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_blit.c54 ctx->sampler_count[PIPE_SHADER_FRAGMENT], in panfrost_blitter_save()
Dpan_context.h201 unsigned sampler_count[PIPE_SHADER_TYPES]; member
Dpan_cmdstream.c1822 if (!ctx->sampler_count[stage]) in panfrost_emit_sampler_descriptors()
1827 ctx->sampler_count[stage], in panfrost_emit_sampler_descriptors()
1831 for (unsigned i = 0; i < ctx->sampler_count[stage]; ++i) { in panfrost_emit_sampler_descriptors()
3156 ctx->sampler_count[stage]); in panfrost_emit_resources()
Dpan_context.c380 ctx->sampler_count[shader] = sampler ? num_sampler : 0; in panfrost_bind_sampler_states()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_blit.c103 ctx->stage[PIPE_SHADER_FRAGMENT].sampler_count, in agx_blitter_save()
Dagx_state.h88 unsigned sampler_count, texture_count; member
Dagx_state.c384 ctx->stage[shader].sampler_count = states ? count : 0; in agx_bind_sampler_states()
1369 cfg.sampler_count = ctx->stage[PIPE_SHADER_FRAGMENT].texture_count; in demo_launch_fragment()
1510 cfg.sampler_count = ctx->stage[PIPE_SHADER_VERTEX].texture_count; in agx_encode_state()
/third_party/mesa3d/src/intel/tools/
Daubinator_viewer_decoder.cpp326 uint32_t sampler_offset = 0, sampler_count = 0; in handle_media_interface_descriptor_load() local
334 sampler_count = strtol(iter.value, NULL, 10); in handle_media_interface_descriptor_load()
344 dump_samplers(ctx, sampler_offset, sampler_count); in handle_media_interface_descriptor_load()
/third_party/mesa3d/src/intel/common/
Dintel_batch_decoder.c386 uint32_t sampler_offset = 0, sampler_count = 0; in handle_interface_descriptor_data() local
397 sampler_count = strtol(iter.value, NULL, 10); in handle_interface_descriptor_data()
408 if (sampler_count) in handle_interface_descriptor_data()
409 dump_samplers(ctx, sampler_offset, sampler_count); in handle_interface_descriptor_data()
/third_party/mesa3d/src/panfrost/util/
Dpan_ir.h354 unsigned sampler_count; member
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c383 shader->info.sampler_count = layout->num_samplers; in panvk_per_arch()
Dpanvk_vX_meta_copy.c230 cfg.shader.sampler_count = 1; in panvk_meta_copy_to_img_emit_rsd()
303 cfg.shader.sampler_count = 1; in panvk_meta_copy_to_buf_emit_rsd()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_descriptor_set.c466 uint32_t sampler_count = 0, other_desc_count = 0; in dzn_GetDescriptorSetLayoutSupport() local
473 sampler_count += bindings[i].descriptorCount; in dzn_GetDescriptorSetLayoutSupport()
481 sampler_count <= (MAX_DESCS_PER_SAMPLER_HEAP / MAX_SETS) && in dzn_GetDescriptorSetLayoutSupport()

12