Home
last modified time | relevance | path

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

/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_image.c160 struct v3dv_buffer_view *buffer_view) in v3dX()
162 assert(buffer_view->buffer); in v3dX()
163 const struct v3dv_buffer *buffer = buffer_view->buffer; in v3dX()
165 v3dvx_pack(buffer_view->texture_shader_state, TEXTURE_SHADER_STATE, tex) { in v3dX()
178 tex.image_width = buffer_view->num_elements; in v3dX()
183 tex.texture_type = buffer_view->format->tex_type; in v3dX()
184 tex.srgb = vk_format_is_srgb(buffer_view->vk_format); in v3dX()
194 buffer_view->offset; in v3dX()
Dv3dv_descriptor_set.c235 assert(descriptor->buffer_view); in v3dv_descriptor_map_get_texture_format()
236 *out_vk_format = descriptor->buffer_view->vk_format; in v3dv_descriptor_map_get_texture_format()
237 return descriptor->buffer_view->format; in v3dv_descriptor_map_get_texture_format()
264 assert(descriptor->buffer_view); in v3dv_descriptor_map_get_texture_bo()
265 return descriptor->buffer_view->buffer->mem->bo; in v3dv_descriptor_map_get_texture_bo()
954 descriptor->buffer_view = bview; in write_buffer_view_descriptor()
1031 V3DV_FROM_HANDLE(v3dv_buffer_view, buffer_view, in v3dv_UpdateDescriptorSets()
1034 set, binding_layout, buffer_view, in v3dv_UpdateDescriptorSets()
Dv3dv_uniforms.c342 get_texture_size_from_buffer_view(struct v3dv_buffer_view *buffer_view, in get_texture_size_from_buffer_view() argument
349 return buffer_view->num_elements; in get_texture_size_from_buffer_view()
385 return get_texture_size_from_buffer_view(descriptor->buffer_view, in get_texture_size()
Dv3dv_image.c617 V3DV_FROM_HANDLE(v3dv_buffer_view, buffer_view, bufferView); in v3dv_DestroyBufferView()
619 if (buffer_view == NULL) in v3dv_DestroyBufferView()
622 vk_object_free(&device->vk, pAllocator, buffer_view); in v3dv_DestroyBufferView()
Dv3dvx_private.h175 struct v3dv_buffer_view *buffer_view);
Dv3dv_private.h1238 struct v3dv_buffer_view *buffer_view; member
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_context.c444 return sampler_view->base.texture ? sampler_view->buffer_view : NULL; in get_bufferview_for_binding()
448 return image_view->base.resource ? image_view->buffer_view : NULL; in get_bufferview_for_binding()
512 ctx->di.tbos[shader][slot] = bv->buffer_view; in update_descriptor_state_sampler()
532 ctx->di.tbos[shader][slot] = null_bufferview->buffer_view; in update_descriptor_state_sampler()
549 ctx->di.texel_images[shader][slot] = bv->buffer_view; in update_descriptor_state_image()
568 ctx->di.texel_images[shader][slot] = null_bufferview->buffer_view; in update_descriptor_state_image()
654 struct zink_buffer_view *buffer_view = NULL; in get_buffer_view() local
660 buffer_view = he->data; in get_buffer_view()
661 p_atomic_inc(&buffer_view->reference.count); in get_buffer_view()
666 buffer_view = CALLOC_STRUCT(zink_buffer_view); in get_buffer_view()
[all …]
Dzink_batch.c67 struct zink_buffer_view *buffer_view = (struct zink_buffer_view *)entry->key; in zink_reset_batch_state() local
68 zink_batch_usage_unset(&buffer_view->batch_uses, bs); in zink_reset_batch_state()
69 zink_buffer_view_reference(screen, &buffer_view, NULL); in zink_reset_batch_state()
697 zink_batch_reference_bufferview(struct zink_batch *batch, struct zink_buffer_view *buffer_view) in zink_batch_reference_bufferview() argument
699 if (!batch_ptr_add_usage(batch, batch->state->bufferviews, buffer_view)) in zink_batch_reference_bufferview()
701 pipe_reference(NULL, &buffer_view->reference); in zink_batch_reference_bufferview()
720 zink_batch_reference_bufferview(batch, sv->buffer_view); in zink_batch_reference_sampler_view()
742 zink_batch_reference_bufferview(batch, image_view->buffer_view); in zink_batch_reference_image_view()
Dzink_context.h87 VkBufferView buffer_view; member
97 struct zink_buffer_view *buffer_view; member
105 struct zink_buffer_view *buffer_view; member
540 zink_destroy_buffer_view(struct zink_screen *screen, struct zink_buffer_view *buffer_view);
Dzink_batch.h175 zink_batch_reference_bufferview(struct zink_batch *batch, struct zink_buffer_view *buffer_view);
Dzink_screen.h169 uint32_t buffer_view; member
Dzink_descriptors.c125 sampler_view->buffer_view->hash : sampler_view->image_view->hash; in get_sampler_view_hash()
134 image_view->buffer_view->hash : image_view->surface->hash; in get_image_view_hash()
141 (is_buffer ? zink_screen(ctx->base.screen)->null_descriptor_hashes.buffer_view : in zink_get_sampler_view_hash()
149 (is_buffer ? zink_screen(ctx->base.screen)->null_descriptor_hashes.buffer_view : in zink_get_image_view_hash()
157 …ew ? dsurf->bufferview->hash : zink_screen(ctx->base.screen)->null_descriptor_hashes.buffer_view) : in get_descriptor_surface_hash()
943 …_set_ref_add(zds, &image_view->buffer_view->desc_set_refs, (void**)&zds->surfaces[idx].bufferview,… in zink_image_view_desc_set_add()
Dzink_screen.c1801 …screen->null_descriptor_hashes.buffer_view = _mesa_hash_data(&null_binfo, sizeof(VkBufferViewCreat… in pre_hash_descriptor_states()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_descriptor_set.c162 VK_FROM_HANDLE(panvk_buffer_view, buffer_view, *pTexelBufferView); in panvk_set_texel_buffer_view_desc()
163 desc->buffer_view = buffer_view; in panvk_set_texel_buffer_view_desc()
Dpanvk_private.h343 struct panvk_buffer_view *buffer_view; member
/third_party/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c1405 struct anv_buffer_view *buffer_view, in anv_descriptor_set_write_buffer_view() argument
1419 if (buffer_view == NULL) { in anv_descriptor_set_write_buffer_view()
1427 .buffer_view = buffer_view, in anv_descriptor_set_write_buffer_view()
1432 .image = anv_surface_state_to_handle(buffer_view->surface_state), in anv_descriptor_set_write_buffer_view()
1441 buffer_view->storage_surface_state), in anv_descriptor_set_write_buffer_view()
1443 buffer_view->lowered_storage_surface_state), in anv_descriptor_set_write_buffer_view()
1450 &buffer_view->lowered_storage_image_param); in anv_descriptor_set_write_buffer_view()
1527 .buffer_view = bview, in anv_descriptor_set_write_buffer()
DgenX_cmd_buffer.c2792 if (desc->buffer_view) { in emit_binding_table()
2793 surface_state = desc->buffer_view->surface_state; in emit_binding_table()
2797 desc->buffer_view->address); in emit_binding_table()
2845 if (desc->buffer_view) { in emit_binding_table()
2847 ? desc->buffer_view->lowered_storage_surface_state in emit_binding_table()
2848 : desc->buffer_view->storage_surface_state; in emit_binding_table()
2852 desc->buffer_view->address); in emit_binding_table()
3077 if (desc->buffer_view) in get_push_range_address()
3078 return desc->buffer_view->address; in get_push_range_address()
3142 if (!desc->buffer_view) in get_push_range_bound_size()
[all …]
Danv_private.h1986 struct anv_buffer_view *buffer_view; member
2152 struct anv_buffer_view *buffer_view,
/third_party/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c948 RADV_FROM_HANDLE(radv_buffer_view, buffer_view, _buffer_view); in write_texel_buffer_descriptor()
950 if (!buffer_view) { in write_texel_buffer_descriptor()
957 memcpy(dst, buffer_view->state, 4 * 4); in write_texel_buffer_descriptor()
960 radv_cs_add_buffer(device->ws, cmd_buffer->cs, buffer_view->bo); in write_texel_buffer_descriptor()
962 *buffer_list = buffer_view->bo; in write_texel_buffer_descriptor()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c431 .info.buffer_view = bview, in lvp_UpdateDescriptorSets()
654 .info.buffer_view = bview, in lvp_UpdateDescriptorSetWithTemplate()
Dlvp_private.h417 struct lvp_buffer_view *buffer_view; member
Dlvp_execute.c1043 struct lvp_buffer_view *bv = descriptor->buffer_view; in fill_sampler_buffer_view_stage()
1108 struct lvp_buffer_view *bv = descriptor->buffer_view; in fill_image_buffer_view_stage()
3168 … info->buffer_view = lvp_buffer_view_from_handle(in_cmd->descriptor_writes[i].pTexelBufferView[j]); in create_push_descriptor_set()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c792 write_texel_buffer_descriptor(uint32_t *dst, const VkBufferView buffer_view) in write_texel_buffer_descriptor() argument
794 if (buffer_view == VK_NULL_HANDLE) { in write_texel_buffer_descriptor()
797 TU_FROM_HANDLE(tu_buffer_view, view, buffer_view); in write_texel_buffer_descriptor()
/third_party/vk-gl-cts/android/cts/master/vk-master-2019-03-01/
Dapi.txt7149 dEQP-VK.api.buffer_view.create.suballocation.uniform.r4g4_unorm_pack8
7150 dEQP-VK.api.buffer_view.create.suballocation.uniform.r4g4b4a4_unorm_pack16
7151 dEQP-VK.api.buffer_view.create.suballocation.uniform.b4g4r4a4_unorm_pack16
7152 dEQP-VK.api.buffer_view.create.suballocation.uniform.r5g6b5_unorm_pack16
7153 dEQP-VK.api.buffer_view.create.suballocation.uniform.b5g6r5_unorm_pack16
7154 dEQP-VK.api.buffer_view.create.suballocation.uniform.r5g5b5a1_unorm_pack16
7155 dEQP-VK.api.buffer_view.create.suballocation.uniform.b5g5r5a1_unorm_pack16
7156 dEQP-VK.api.buffer_view.create.suballocation.uniform.a1r5g5b5_unorm_pack16
7157 dEQP-VK.api.buffer_view.create.suballocation.uniform.r8_unorm
7158 dEQP-VK.api.buffer_view.create.suballocation.uniform.r8_snorm
[all …]
/third_party/boost/libs/beast/
DCHANGELOG.md3269 * buffer_view skips empty buffer sequences
3270 * Disable reverse_iterator buffer_view test