Searched refs:bview (Results 1 - 12 of 12) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_buffer.c41 struct pipe_shader_buffer *bview = &sp_buf->sp_bview[unit]; local in function:sp_tgsi_ssbo_lookup
43 if (!bview->buffer ||
44 bview->buffer_offset > bview->buffer->width0 ||
45 bview->buffer_size > bview->buffer->width0 - bview->buffer_offset) {
49 struct softpipe_resource *spr = softpipe_resource(bview->buffer);
50 *size = bview->buffer_size;
51 return (char *)spr->data + bview
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_buffer.c31 get_dimensions(const struct pipe_shader_buffer *bview, argument
35 *width = bview->buffer_size;
55 struct pipe_shader_buffer *bview; local in function:sp_tgsi_load
65 bview = &sp_buf->sp_bview[params->unit];
66 spr = softpipe_resource(bview->buffer);
70 if (!get_dimensions(bview, spr, &width))
90 data_ptr = (unsigned char *)spr->data + bview->buffer_offset + s_coord;
113 struct pipe_shader_buffer *bview; local in function:sp_tgsi_store
123 bview = &sp_buf->sp_bview[params->unit];
124 spr = softpipe_resource(bview
158 handle_op_atomic(const struct pipe_shader_buffer * bview,bool just_read,unsigned char * data_ptr,uint qi,enum tgsi_opcode opcode,unsigned writemask,float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE],float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument
297 struct pipe_shader_buffer *bview; local in function:sp_tgsi_op
352 struct pipe_shader_buffer *bview; local in function:sp_tgsi_get_dims
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_descriptor_set.c1300 struct anv_buffer_view *bview = local in function:anv_descriptor_set_write_buffer
1303 bview->format = anv_isl_format_for_descriptor_type(type);
1304 bview->range = bind_range;
1305 bview->address = bind_addr;
1312 bview->surface_state = anv_state_stream_alloc(alloc_stream, 64, 64);
1314 anv_fill_buffer_surface_state(device, bview->surface_state,
1315 bview->format, bind_addr, bind_range, 1);
1319 .buffer_view = bview,
1384 ANV_FROM_HANDLE(anv_buffer_view, bview,
1389 bview,
[all...]
H A Danv_cmd_buffer.c1053 ANV_FROM_HANDLE(anv_buffer_view, bview,
1058 bview,
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_descriptor_set.c1501 struct anv_buffer_view *bview = local in function:anv_descriptor_set_write_buffer
1504 bview->format = anv_isl_format_for_descriptor_type(device, type);
1505 bview->range = bind_range;
1506 bview->address = bind_addr;
1513 bview->surface_state = anv_state_stream_alloc(alloc_stream, 64, 64);
1521 anv_fill_buffer_surface_state(device, bview->surface_state,
1522 bview->format, usage,
1527 .buffer_view = bview,
1618 ANV_FROM_HANDLE(anv_buffer_view, bview,
1623 bview,
[all...]
H A Danv_cmd_buffer.c1489 ANV_FROM_HANDLE(anv_buffer_view, bview,
1494 bview,
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dv_descriptor_set.c949 struct v3dv_buffer_view *bview,
952 assert(bview);
954 descriptor->buffer_view = bview;
959 bview->texture_shader_state,
960 sizeof(bview->texture_shader_state));
1247 V3DV_FROM_HANDLE(v3dv_buffer_view, bview, *_bview);
1249 set, binding_layout, bview,
944 write_buffer_view_descriptor(struct v3dv_device * device,struct v3dv_descriptor * descriptor,VkDescriptorType desc_type,struct v3dv_descriptor_set * set,const struct v3dv_descriptor_set_binding_layout * binding_layout,struct v3dv_buffer_view * bview,uint32_t array_index) argument
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_meta_blit2d.c81 struct radv_buffer_view *bview, VkFormat depth_format)
89 radv_buffer_view_init(bview, cmd_buffer->device,
102 struct radv_buffer_view bview; member in struct:blit2d_src_temps
114 create_bview(cmd_buffer, src_buf, &tmp->bview, depth_format);
126 .pTexelBufferView = (VkBufferView[]){radv_buffer_view_to_handle(&tmp->bview)}}});
400 radv_buffer_view_finish(&src_temps.bview);
80 create_bview(struct radv_cmd_buffer * cmd_buffer,struct radv_meta_blit2d_buffer * src,struct radv_buffer_view * bview,VkFormat depth_format) argument
H A Dradv_meta_bufimage.c1278 VkFormat format, struct radv_buffer_view *bview)
1280 radv_buffer_view_init(bview, cmd_buffer->device,
1323 unsigned offset, VkFormat src_format, struct radv_buffer_view *bview)
1341 radv_buffer_view_init(bview, cmd_buffer->device,
1277 create_bview(struct radv_cmd_buffer * cmd_buffer,struct radv_buffer * buffer,unsigned offset,VkFormat format,struct radv_buffer_view * bview) argument
1322 create_bview_for_r32g32b32(struct radv_cmd_buffer * cmd_buffer,struct radv_buffer * buffer,unsigned offset,VkFormat src_format,struct radv_buffer_view * bview) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/
H A Dlvp_descriptor_set.c426 LVP_FROM_HANDLE(lvp_buffer_view, bview,
431 .info.buffer_view = bview,
650 LVP_FROM_HANDLE(lvp_buffer_view, bview,
654 .info.buffer_view = bview,
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_meta_blit2d.c88 struct radv_buffer_view *bview, VkFormat depth_format)
96 radv_buffer_view_init(bview, cmd_buffer->device,
110 struct radv_buffer_view bview; member in struct:blit2d_src_temps
125 create_bview(cmd_buffer, src_buf, &tmp->bview, depth_format);
138 .pTexelBufferView = (VkBufferView[]) { radv_buffer_view_to_handle(&tmp->bview) }
86 create_bview(struct radv_cmd_buffer * cmd_buffer,struct radv_meta_blit2d_buffer * src,struct radv_buffer_view * bview,VkFormat depth_format) argument
H A Dradv_meta_bufimage.c1563 struct radv_buffer_view *bview)
1565 radv_buffer_view_init(bview, cmd_buffer->device,
1611 struct radv_buffer_view *bview)
1629 radv_buffer_view_init(bview, cmd_buffer->device,
1559 create_bview(struct radv_cmd_buffer * cmd_buffer,struct radv_buffer * buffer,unsigned offset,VkFormat format,struct radv_buffer_view * bview) argument
1607 create_bview_for_r32g32b32(struct radv_cmd_buffer * cmd_buffer,struct radv_buffer * buffer,unsigned offset,VkFormat src_format,struct radv_buffer_view * bview) argument

Completed in 25 milliseconds