Home
last modified time | relevance | path

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

12

/external/libchrome/ipc/
Dmessage_mojom_traits.cc29 mojo_base::BigBufferView buffer_view; in Read() local
30 if (!data.ReadBuffer(&buffer_view)) in Read()
36 *out = IPC::MessageView(std::move(buffer_view), std::move(handles)); in Read()
Dmessage_view.cc20 mojo_base::BigBufferView buffer_view, in MessageView() argument
22 : buffer_view_(std::move(buffer_view)), handles_(std::move(handles)) {} in MessageView()
Dmessage_view.h26 mojo_base::BigBufferView buffer_view, in COMPONENT_EXPORT()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c702 struct v3dv_buffer_view *buffer_view) in pack_texture_shader_state_from_buffer_view() argument
704 assert(buffer_view->buffer); in pack_texture_shader_state_from_buffer_view()
705 const struct v3dv_buffer *buffer = buffer_view->buffer; in pack_texture_shader_state_from_buffer_view()
707 v3dv_pack(buffer_view->texture_shader_state, TEXTURE_SHADER_STATE, tex) { in pack_texture_shader_state_from_buffer_view()
720 tex.image_width = buffer_view->size; in pack_texture_shader_state_from_buffer_view()
725 tex.texture_type = buffer_view->format->tex_type; in pack_texture_shader_state_from_buffer_view()
726 tex.srgb = vk_format_is_srgb(buffer_view->vk_format); in pack_texture_shader_state_from_buffer_view()
736 buffer_view->offset; in pack_texture_shader_state_from_buffer_view()
794 V3DV_FROM_HANDLE(v3dv_buffer_view, buffer_view, bufferView); in v3dv_DestroyBufferView()
796 vk_free2(&device->alloc, pAllocator, buffer_view); in v3dv_DestroyBufferView()
Dv3dv_descriptor_set.c256 assert(descriptor->buffer_view); in v3dv_descriptor_map_get_texture_format()
257 *out_vk_format = descriptor->buffer_view->vk_format; in v3dv_descriptor_map_get_texture_format()
258 return descriptor->buffer_view->format; in v3dv_descriptor_map_get_texture_format()
285 assert(descriptor->buffer_view); in v3dv_descriptor_map_get_texture_bo()
286 return descriptor->buffer_view->buffer->mem->bo; in v3dv_descriptor_map_get_texture_bo()
1060 V3DV_FROM_HANDLE(v3dv_buffer_view, buffer_view, in v3dv_UpdateDescriptorSets()
1063 assert(buffer_view); in v3dv_UpdateDescriptorSets()
1065 descriptor->buffer_view = buffer_view; in v3dv_UpdateDescriptorSets()
1068 set, binding_layout, buffer_view, in v3dv_UpdateDescriptorSets()
Dv3dv_uniforms.c268 get_texture_size_from_buffer_view(struct v3dv_buffer_view *buffer_view, in get_texture_size_from_buffer_view() argument
275 return buffer_view->num_elements; in get_texture_size_from_buffer_view()
314 return get_texture_size_from_buffer_view(descriptor->buffer_view, in get_texture_size()
Dv3dv_private.h1056 struct v3dv_buffer_view *buffer_view; member
/external/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c1404 struct anv_buffer_view *buffer_view, in anv_descriptor_set_write_buffer_view() argument
1418 if (buffer_view == NULL) { in anv_descriptor_set_write_buffer_view()
1426 .buffer_view = buffer_view, in anv_descriptor_set_write_buffer_view()
1431 .image = anv_surface_state_to_handle(buffer_view->surface_state), in anv_descriptor_set_write_buffer_view()
1440 buffer_view->storage_surface_state), in anv_descriptor_set_write_buffer_view()
1442 buffer_view->writeonly_storage_surface_state), in anv_descriptor_set_write_buffer_view()
1449 &buffer_view->storage_image_param); in anv_descriptor_set_write_buffer_view()
1526 .buffer_view = bview, in anv_descriptor_set_write_buffer()
DgenX_cmd_buffer.c2757 if (desc->buffer_view) { in emit_binding_table()
2758 surface_state = desc->buffer_view->surface_state; in emit_binding_table()
2762 desc->buffer_view->address); in emit_binding_table()
2810 if (desc->buffer_view) { in emit_binding_table()
2812 ? desc->buffer_view->writeonly_storage_surface_state in emit_binding_table()
2813 : desc->buffer_view->storage_surface_state; in emit_binding_table()
2817 desc->buffer_view->address); in emit_binding_table()
3034 if (desc->buffer_view) in get_push_range_address()
3035 return desc->buffer_view->address; in get_push_range_address()
3096 if (!desc->buffer_view) in get_push_range_bound_size()
[all …]
Danv_private.h2068 struct anv_buffer_view *buffer_view; member
2206 struct anv_buffer_view *buffer_view,
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp838 auto buffer_view = GetBufferViewState(texel_buffer->GetBufferView()); in ValidateDrawState() local
840 if (nullptr == buffer_view) { in ValidateDrawState()
843 << buffer_view << " that has been destroyed."; in ValidateDrawState()
847 auto buffer = buffer_view->create_info.buffer; in ValidateDrawState()
857 … auto format_bits = DescriptorRequirementsBitsFromFormat(buffer_view->create_info.format); in ValidateDrawState()
864 << string_VkFormat(buffer_view->create_info.format) << "."; in ValidateDrawState()
2112 auto buffer_view = static_cast<const TexelDescriptor *>(src_desc)->GetBufferView(); in VerifyCopyUpdateContents() local
2113 auto bv_state = device_data->GetBufferViewState(buffer_view); in VerifyCopyUpdateContents()
2117 …tr << "Attempted copy update to texel buffer descriptor with invalid buffer view: " << buffer_view; in VerifyCopyUpdateContents()
2555 auto buffer_view = update->pTexelBufferView[di]; in VerifyWriteUpdateContents() local
[all …]
Dcore_validation_types.h277 VkBufferView buffer_view;
279 …BUFFER_VIEW_STATE(VkBufferView bv, const VkBufferViewCreateInfo *ci) : buffer_view(bv), create_inf…
Dcore_validation.h295 …_VIEW_STATE* GetBufferViewState(VkBufferView buffer_view) const { return Get<BUFFER_VIEW_STATE>(bu…
296 …FER_VIEW_STATE* GetBufferViewState(VkBufferView buffer_view) { return Get<BUFFER_VIEW_STATE>(buffe…
/external/mesa3d/src/gallium/drivers/zink/
Dzink_context.h53 VkBufferView buffer_view; member
Dzink_draw.c293 VkBufferView buffer_view[] = {VK_NULL_HANDLE}; in zink_draw_vbo() local
342 wds[num_wds].pTexelBufferView = &buffer_view[0]; in zink_draw_vbo()
351 wds[num_wds].pTexelBufferView = &sampler_view->buffer_view; in zink_draw_vbo()
Dzink_context.c325 err = vkCreateBufferView(screen->dev, &bvci, NULL, &sampler_view->buffer_view); in zink_create_sampler_view()
340 vkDestroyBufferView(zink_screen(pctx->screen)->dev, view->buffer_view, NULL); in zink_sampler_view_destroy()
/external/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c876 RADV_FROM_HANDLE(radv_buffer_view, buffer_view, _buffer_view); in write_texel_buffer_descriptor()
878 if (!buffer_view) { in write_texel_buffer_descriptor()
883 memcpy(dst, buffer_view->state, 4 * 4); in write_texel_buffer_descriptor()
886 radv_cs_add_buffer(device->ws, cmd_buffer->cs, buffer_view->bo); in write_texel_buffer_descriptor()
888 *buffer_list = buffer_view->bo; in write_texel_buffer_descriptor()
/external/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c717 write_texel_buffer_descriptor(uint32_t *dst, const VkBufferView buffer_view) in write_texel_buffer_descriptor() argument
719 TU_FROM_HANDLE(tu_buffer_view, view, buffer_view); in write_texel_buffer_descriptor()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c387 .buffer_view = bview, in lvp_UpdateDescriptorSets()
Dlvp_private.h469 struct lvp_buffer_view *buffer_view; member
Dlvp_execute.c800 struct lvp_buffer_view *bv = descriptor->buffer_view; in fill_sampler_buffer_view_stage()
865 struct lvp_buffer_view *bv = descriptor->buffer_view; in fill_image_buffer_view_stage()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.h409 void WriteDescriptorBufferView(int blinding, VkBufferView &buffer_view,
Dlayer_validation_tests.cpp1377 void OneOffDescriptorSet::WriteDescriptorBufferView(int blinding, VkBufferView &buffer_view, VkDesc… in WriteDescriptorBufferView() argument
1385 descriptor_write.pTexelBufferView = &buffer_view; in WriteDescriptorBufferView()
Dvkpositivelayertests.cpp2137 VkBufferView buffer_view; in TEST_F() local
2138 VkResult err = vkCreateBufferView(m_device->device(), &buff_view_ci, NULL, &buffer_view); in TEST_F()
2152 descriptor_write.pTexelBufferView = &buffer_view; in TEST_F()
2167 vkDestroyBufferView(m_device->device(), buffer_view, NULL); in TEST_F()
Dvklayertests_descriptor_renderpass_framebuffer.cpp5257 VkBufferView buffer_view = buffer_view_obj.handle(); in TEST_F() local
5274 descriptor_write.pTexelBufferView = &buffer_view; in TEST_F()
5306 descriptor_write.pTexelBufferView = &buffer_view; in TEST_F()

12