Home
last modified time | relevance | path

Searched refs:bview (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_buffer.c41 struct pipe_shader_buffer *bview = &sp_buf->sp_bview[unit]; in sp_tgsi_ssbo_lookup() local
43 if (!bview->buffer || in sp_tgsi_ssbo_lookup()
44 bview->buffer_offset > bview->buffer->width0 || in sp_tgsi_ssbo_lookup()
45 bview->buffer_size > bview->buffer->width0 - bview->buffer_offset) { in sp_tgsi_ssbo_lookup()
49 struct softpipe_resource *spr = softpipe_resource(bview->buffer); in sp_tgsi_ssbo_lookup()
50 *size = bview->buffer_size; in sp_tgsi_ssbo_lookup()
51 return (char *)spr->data + bview->buffer_offset; in sp_tgsi_ssbo_lookup()
/third_party/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c1501 struct anv_buffer_view *bview = in anv_descriptor_set_write_buffer() local
1504 bview->format = anv_isl_format_for_descriptor_type(device, type); in anv_descriptor_set_write_buffer()
1505 bview->range = bind_range; in anv_descriptor_set_write_buffer()
1506 bview->address = bind_addr; in anv_descriptor_set_write_buffer()
1513 bview->surface_state = anv_state_stream_alloc(alloc_stream, 64, 64); in anv_descriptor_set_write_buffer()
1521 anv_fill_buffer_surface_state(device, bview->surface_state, in anv_descriptor_set_write_buffer()
1522 bview->format, usage, in anv_descriptor_set_write_buffer()
1527 .buffer_view = bview, in anv_descriptor_set_write_buffer()
1618 ANV_FROM_HANDLE(anv_buffer_view, bview, in anv_UpdateDescriptorSets()
1623 bview, in anv_UpdateDescriptorSets()
[all …]
Danv_cmd_buffer.c1487 ANV_FROM_HANDLE(anv_buffer_view, bview, in anv_CmdPushDescriptorSetKHR()
1492 bview, in anv_CmdPushDescriptorSetKHR()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c949 struct v3dv_buffer_view *bview, in write_buffer_view_descriptor() argument
952 assert(bview); in write_buffer_view_descriptor()
954 descriptor->buffer_view = bview; in write_buffer_view_descriptor()
959 bview->texture_shader_state, in write_buffer_view_descriptor()
960 sizeof(bview->texture_shader_state)); in write_buffer_view_descriptor()
1247 V3DV_FROM_HANDLE(v3dv_buffer_view, bview, *_bview); in v3dv_UpdateDescriptorSetWithTemplate()
1249 set, binding_layout, bview, in v3dv_UpdateDescriptorSetWithTemplate()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c426 LVP_FROM_HANDLE(lvp_buffer_view, bview, in lvp_UpdateDescriptorSets()
431 .info.buffer_view = bview, in lvp_UpdateDescriptorSets()
650 LVP_FROM_HANDLE(lvp_buffer_view, bview, in lvp_UpdateDescriptorSetWithTemplate()
654 .info.buffer_view = bview, in lvp_UpdateDescriptorSetWithTemplate()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_blit2d.c81 struct radv_buffer_view *bview, VkFormat depth_format) in create_bview() argument
89 radv_buffer_view_init(bview, cmd_buffer->device, in create_bview()
102 struct radv_buffer_view bview; member
114 create_bview(cmd_buffer, src_buf, &tmp->bview, depth_format); in blit2d_bind_src()
126 .pTexelBufferView = (VkBufferView[]){radv_buffer_view_to_handle(&tmp->bview)}}}); in blit2d_bind_src()
400 radv_buffer_view_finish(&src_temps.bview); in radv_meta_blit2d_normal_dst()
Dradv_meta_bufimage.c1278 VkFormat format, struct radv_buffer_view *bview) in create_bview() argument
1280 radv_buffer_view_init(bview, cmd_buffer->device, in create_bview()
1323 unsigned offset, VkFormat src_format, struct radv_buffer_view *bview) in create_bview_for_r32g32b32() argument
1341 radv_buffer_view_init(bview, cmd_buffer->device, in create_bview_for_r32g32b32()