Home
last modified time | relevance | path

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

/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_image.c136 struct v3dv_buffer_view *buffer_view) in v3dX()
138 assert(buffer_view->buffer); in v3dX()
139 const struct v3dv_buffer *buffer = buffer_view->buffer; in v3dX()
141 v3dvx_pack(buffer_view->texture_shader_state, TEXTURE_SHADER_STATE, tex) { in v3dX()
154 tex.image_width = buffer_view->num_elements; in v3dX()
159 tex.texture_type = buffer_view->format->tex_type; in v3dX()
160 tex.srgb = vk_format_is_srgb(buffer_view->vk_format); in v3dX()
170 buffer_view->offset; in v3dX()
Dv3dv_uniforms.c419 get_texture_size_from_buffer_view(struct v3dv_buffer_view *buffer_view, in get_texture_size_from_buffer_view() argument
426 return buffer_view->num_elements; in get_texture_size_from_buffer_view()
462 return get_texture_size_from_buffer_view(descriptor->buffer_view, in get_texture_size()
Dv3dv_image.c650 V3DV_FROM_HANDLE(v3dv_buffer_view, buffer_view, bufferView); in v3dv_DestroyBufferView()
652 if (buffer_view == NULL) in v3dv_DestroyBufferView()
655 vk_object_free(&device->vk, pAllocator, buffer_view); in v3dv_DestroyBufferView()
Dv3dv_descriptor_set.c244 assert(descriptor->buffer_view); in v3dv_descriptor_map_get_texture_bo()
245 return descriptor->buffer_view->buffer->mem->bo; in v3dv_descriptor_map_get_texture_bo()
1060 descriptor->buffer_view = bview; in write_buffer_view_descriptor()
1173 V3DV_FROM_HANDLE(v3dv_buffer_view, buffer_view, in v3dv_UpdateDescriptorSets()
1176 set, binding_layout, buffer_view, in v3dv_UpdateDescriptorSets()
Dv3dvx_private.h176 struct v3dv_buffer_view *buffer_view);
Dv3dv_private.h1420 struct v3dv_buffer_view *buffer_view; member
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_context.c528 return sampler_view->base.texture ? sampler_view->buffer_view : NULL; in get_bufferview_for_binding()
532 return image_view->base.resource ? image_view->buffer_view : NULL; in get_bufferview_for_binding()
596 ctx->di.tbos[shader][slot] = bv->buffer_view; in update_descriptor_state_sampler()
628 ctx->di.tbos[shader][slot] = null_bufferview->buffer_view; in update_descriptor_state_sampler()
645 ctx->di.texel_images[shader][slot] = bv->buffer_view; in update_descriptor_state_image()
664 ctx->di.texel_images[shader][slot] = null_bufferview->buffer_view; in update_descriptor_state_image()
814 struct zink_buffer_view *buffer_view = NULL; in get_buffer_view() local
820 buffer_view = he->data; in get_buffer_view()
821 p_atomic_inc(&buffer_view->reference.count); in get_buffer_view()
829 buffer_view = CALLOC_STRUCT(zink_buffer_view); in get_buffer_view()
[all …]
Dzink_batch.c69 struct zink_buffer_view *buffer_view = (struct zink_buffer_view *)entry->key; in zink_reset_batch_state() local
70 zink_batch_usage_unset(&buffer_view->batch_uses, bs); in zink_reset_batch_state()
71 zink_buffer_view_reference(screen, &buffer_view, NULL); in zink_reset_batch_state()
593 zink_batch_reference_bufferview(struct zink_batch *batch, struct zink_buffer_view *buffer_view) in zink_batch_reference_bufferview() argument
595 if (!batch_ptr_add_usage(batch, batch->state->bufferviews, buffer_view)) in zink_batch_reference_bufferview()
597 pipe_reference(NULL, &buffer_view->reference); in zink_batch_reference_bufferview()
616 zink_batch_reference_bufferview(batch, sv->buffer_view); in zink_batch_reference_sampler_view()
641 zink_batch_reference_bufferview(batch, image_view->buffer_view); in zink_batch_reference_image_view()
Dzink_context.h98 VkBufferView buffer_view; member
108 struct zink_buffer_view *buffer_view; member
117 struct zink_buffer_view *buffer_view; member
570 zink_destroy_buffer_view(struct zink_screen *screen, struct zink_buffer_view *buffer_view);
Dzink_batch.h211 zink_batch_reference_bufferview(struct zink_batch *batch, struct zink_buffer_view *buffer_view);
Dzink_screen.h205 uint32_t buffer_view; member
Dzink_descriptors.c128 sampler_view->buffer_view->hash : sampler_view->image_view->hash; in get_sampler_view_hash()
137 image_view->buffer_view->hash : image_view->surface->hash; in get_image_view_hash()
144 (is_buffer ? zink_screen(ctx->base.screen)->null_descriptor_hashes.buffer_view : in zink_get_sampler_view_hash()
152 (is_buffer ? zink_screen(ctx->base.screen)->null_descriptor_hashes.buffer_view : in zink_get_image_view_hash()
160 …ew ? dsurf->bufferview->hash : zink_screen(ctx->base.screen)->null_descriptor_hashes.buffer_view) : in get_descriptor_surface_hash()
999 …_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.c2043 …screen->null_descriptor_hashes.buffer_view = _mesa_hash_data(&null_binfo, sizeof(VkBufferViewCreat… in pre_hash_descriptor_states()
/third_party/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c1518 struct anv_buffer_view *buffer_view, in anv_descriptor_set_write_buffer_view() argument
1532 .buffer_view = buffer_view, in anv_descriptor_set_write_buffer_view()
1546 if (buffer_view == NULL) { in anv_descriptor_set_write_buffer_view()
1553 .image = anv_surface_state_to_handle(buffer_view->surface_state), in anv_descriptor_set_write_buffer_view()
1562 buffer_view->storage_surface_state), in anv_descriptor_set_write_buffer_view()
1564 buffer_view->lowered_storage_surface_state), in anv_descriptor_set_write_buffer_view()
1571 &buffer_view->lowered_storage_image_param); in anv_descriptor_set_write_buffer_view()
1860 src_desc[j].buffer_view, in anv_UpdateDescriptorSets()
DgenX_cmd_buffer.c2772 if (desc->buffer_view) { in emit_binding_table()
2773 surface_state = desc->buffer_view->surface_state; in emit_binding_table()
2777 desc->buffer_view->address); in emit_binding_table()
2826 if (desc->buffer_view) { in emit_binding_table()
2828 ? desc->buffer_view->lowered_storage_surface_state in emit_binding_table()
2829 : desc->buffer_view->storage_surface_state; in emit_binding_table()
2833 desc->buffer_view->address); in emit_binding_table()
3055 if (desc->buffer_view) in get_push_range_address()
3056 return desc->buffer_view->address; in get_push_range_address()
Danv_private.h1941 struct anv_buffer_view *buffer_view; member
2104 struct anv_buffer_view *buffer_view,
/third_party/mesa3d/src/panfrost/ci/
Ddeqp-panfrost-g52-vk.toml7 "dEQP-VK.api.buffer_view.*",
/third_party/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c1012 RADV_FROM_HANDLE(radv_buffer_view, buffer_view, _buffer_view); in write_texel_buffer_descriptor()
1014 if (!buffer_view) { in write_texel_buffer_descriptor()
1021 memcpy(dst, buffer_view->state, 4 * 4); in write_texel_buffer_descriptor()
1024 radv_cs_add_buffer(device->ws, cmd_buffer->cs, buffer_view->bo); in write_texel_buffer_descriptor()
1026 *buffer_list = buffer_view->bo; in write_texel_buffer_descriptor()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c488 .info.buffer_view = bview, in lvp_UpdateDescriptorSets()
729 .info.buffer_view = bview, in lvp_UpdateDescriptorSetWithTemplate()
Dlvp_private.h343 struct lvp_buffer_view *buffer_view; member
Dlvp_execute.c1185 struct lvp_buffer_view *bv = descriptor->buffer_view; in fill_sampler_buffer_view_stage()
1265 struct lvp_buffer_view *bv = descriptor->buffer_view; in fill_image_buffer_view_stage()
3353 … 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.c871 write_texel_buffer_descriptor(uint32_t *dst, const VkBufferView buffer_view) in write_texel_buffer_descriptor() argument
873 if (buffer_view == VK_NULL_HANDLE) { in write_texel_buffer_descriptor()
876 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 …]