/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_resource_buffer.h | 68 enum svga_surface_state surface_state; member 343 sbuf->bufsurf->surface_state = SVGA_SURFACE_STATE_UPDATED; in svga_buffer_hw_storage_unmap() 350 bufsurf->surface_state = SVGA_SURFACE_STATE_RENDERED; in svga_set_buffer_rendered_to() 357 return (bufsurf->surface_state == SVGA_SURFACE_STATE_RENDERED); in svga_was_buffer_rendered_to()
|
H A D | svga_resource_texture.h | 98 enum svga_surface_state surface_state; member 223 tex->surface_state = SVGA_SURFACE_STATE_RENDERED; in svga_set_texture_rendered_to() 230 tex->surface_state = SVGA_SURFACE_STATE_UPDATED; in svga_clear_texture_rendered_to() 236 return (tex->surface_state == SVGA_SURFACE_STATE_RENDERED); in svga_was_texture_rendered_to()
|
H A D | svga_pipe_blit.c | 810 dst_tex->surface_state = SVGA_SURFACE_STATE_RENDERED; in try_resolve_copy() 828 bufsurf->surface_state >= SVGA_SURFACE_STATE_UPDATED); in is_texture_valid_to_copy() 831 return ((tex->surface_state >= SVGA_SURFACE_STATE_UPDATED) || in is_texture_valid_to_copy() 928 dbuffer->bufsurf->surface_state = SVGA_SURFACE_STATE_RENDERED; in svga_resource_copy_region()
|
H A D | svga_resource_buffer.c | 97 sbuf->bufsurf->surface_state == SVGA_SURFACE_STATE_RENDERED) && in need_buf_readback() 183 sbuf->bufsurf->surface_state = SVGA_SURFACE_STATE_UPDATED; in svga_buffer_transfer_map()
|
H A D | svga_resource_buffer_upload.c | 250 sbuf->bufsurf->surface_state = in svga_buffer_create_host_surface() 293 sbuf->bufsurf->surface_state = SVGA_SURFACE_STATE_RENDERED; in svga_buffer_recreate_host_surface() 395 bufsurf->surface_state = SVGA_SURFACE_STATE_RENDERED; in svga_buffer_bind_host_surface()
|
H A D | svga_resource_texture.c | 249 tex->surface_state = SVGA_SURFACE_STATE_UPDATED; in readback_texture_surface() 769 tex->surface_state = SVGA_SURFACE_STATE_UPDATED; in svga_texture_transfer_unmap_direct() 1102 tex->surface_state = SVGA_SURFACE_STATE_INVALIDATED; in svga_texture_create() 1104 tex->surface_state = SVGA_SURFACE_STATE_CREATED; in svga_texture_create()
|
H A D | svga_surface.c | 585 if (stex->surface_state < SVGA_SURFACE_STATE_INVALIDATED) { in svga_validate_surface_view() 594 stex->surface_state = SVGA_SURFACE_STATE_INVALIDATED; in svga_validate_surface_view()
|
H A D | svga_pipe_streamout.c | 464 sbuf->bufsurf->surface_state = SVGA_SURFACE_STATE_RENDERED; in svga_set_stream_output_targets()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | genX_blorp_exec.c | 190 struct anv_state surface_state = in blorp_alloc_binding_table() local 192 bt_map[i] = surface_state.offset + state_offset; in blorp_alloc_binding_table() 193 surface_offsets[i] = surface_state.offset; in blorp_alloc_binding_table() 194 surface_maps[i] = surface_state.map; in blorp_alloc_binding_table()
|
H A D | genX_cmd_buffer.c | 1107 struct anv_state surface_state, in copy_fast_clear_dwords() 1117 .offset = surface_state.offset + in copy_fast_clear_dwords() 1590 .surface_state.state = next_state, in anv_cmd_buffer_init_attachments() 2596 struct anv_state surface_state; in emit_binding_table() local 2609 surface_state = att->surface_state.state; in emit_binding_table() 2611 surface_state = cmd_buffer->state.gfx.null_surface_state; in emit_binding_table() 2613 assert(surface_state.map); in emit_binding_table() 2614 bt_map[s] = surface_state.offset + state_offset; in emit_binding_table() 2618 struct anv_state surface_state in emit_binding_table() local 1106 copy_fast_clear_dwords(struct anv_cmd_buffer *cmd_buffer, struct anv_state surface_state, const struct anv_image *image, VkImageAspectFlagBits aspect, bool copy_from_surface_state) copy_fast_clear_dwords() argument 2646 struct anv_state surface_state = emit_binding_table() local [all...] |
H A D | anv_descriptor_set.c | 1234 set->buffer_views[b].surface_state = in anv_descriptor_set_create() 1263 if (set->buffer_views[b].surface_state.alloc_size) in anv_descriptor_set_destroy() 1264 anv_descriptor_pool_free_state(pool, set->buffer_views[b].surface_state); in anv_descriptor_set_destroy() 1553 .image = anv_surface_state_to_handle(buffer_view->surface_state), in anv_descriptor_set_write_buffer_view() 1652 bview->surface_state = anv_state_stream_alloc(alloc_stream, 64, 64); in anv_descriptor_set_write_buffer() 1655 assert(bview->surface_state.alloc_size); in anv_descriptor_set_write_buffer() 1664 anv_fill_buffer_surface_state(device, bview->surface_state, in anv_descriptor_set_write_buffer()
|
H A D | anv_image.c | 2897 view->surface_state = alloc_surface_state(device); in anv_CreateBufferView() 2899 anv_fill_buffer_surface_state(device, view->surface_state, in anv_CreateBufferView() 2904 view->surface_state = (struct anv_state){ 0 }; in anv_CreateBufferView() 2960 if (view->surface_state.alloc_size > 0) in anv_DestroyBufferView() 2962 view->surface_state); in anv_DestroyBufferView()
|
H A D | anv_blorp.c | 1170 struct anv_state surface_state, in binding_table_for_surface_state() 1183 bt_map[0] = surface_state.offset + state_offset; in binding_table_for_surface_state() 1205 binding_table_for_surface_state(cmd_buffer, att->surface_state.state, in clear_color_attachment() 1169 binding_table_for_surface_state(struct anv_cmd_buffer *cmd_buffer, struct anv_state surface_state, uint32_t *bt_offset) binding_table_for_surface_state() argument
|
H A D | anv_private.h | 1989 struct anv_state surface_state; member 2560 struct anv_surface_state surface_state; member
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_resource.h | 239 struct iris_surface_state surface_state; member 249 struct iris_surface_state surface_state; member 265 struct iris_surface_state surface_state; member
|
H A D | iris_state.c | 2598 alloc_surface_states(&isv->surface_state, aux_usages); in iris_create_sampler_view() 2599 isv->surface_state.bo_address = isv->res->bo->address; in iris_create_sampler_view() 2619 fill_surface_states(&screen->isl_dev, &isv->surface_state, isv->res, in iris_create_sampler_view() 2623 isv->surface_state.cpu, in iris_create_sampler_view() 2638 pipe_resource_reference(&isv->surface_state.ref.res, NULL); in iris_sampler_view_destroy() 2639 free(isv->surface_state.cpu); in iris_sampler_view_destroy() 2801 alloc_surface_states(&surf->surface_state, aux_usages); in iris_create_surface() 2802 surf->surface_state.bo_address = res->bo->address; in iris_create_surface() 2803 fill_surface_states(&screen->isl_dev, &surf->surface_state, res, in iris_create_surface() 2891 alloc_surface_states(&iv->surface_state, aux_usage in iris_set_shader_images() [all...] |