Home
last modified time | relevance | path

Searched refs:bind_history (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c81 const unsigned bind_history = virgl_resource(res)->bind_history; in virgl_can_rebind_resource() local
82 return res->target == PIPE_BUFFER && !(bind_history & unsupported_bind); in virgl_can_rebind_resource()
96 const unsigned bind_history = virgl_resource(res)->bind_history; in virgl_rebind_resource() local
100 (bind_history & tracked_bind) == bind_history); in virgl_rebind_resource()
102 if (bind_history & PIPE_BIND_VERTEX_BUFFER) { in virgl_rebind_resource()
111 if (bind_history & PIPE_BIND_SHADER_BUFFER) { in virgl_rebind_resource()
123 if (bind_history & (PIPE_BIND_CONSTANT_BUFFER | in virgl_rebind_resource()
131 if (bind_history & PIPE_BIND_CONSTANT_BUFFER) { in virgl_rebind_resource()
145 if (bind_history & PIPE_BIND_SHADER_BUFFER) { in virgl_rebind_resource()
157 if (bind_history & PIPE_BIND_SHADER_IMAGE) { in virgl_rebind_resource()
[all …]
Dvirgl_streamout.c52 res->bind_history |= PIPE_BIND_STREAM_OUTPUT; in virgl_create_so_target()
Dvirgl_resource.h68 unsigned bind_history; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c551 tex->buffer.bind_history |= SI_BIND_SAMPLER_BUFFER(shader); in si_set_sampler_views()
853 res->bind_history |= SI_BIND_IMAGE_BUFFER(shader); in si_set_shader_image()
1314 si_resource(input->buffer)->bind_history |= SI_BIND_CONSTANT_BUFFER(shader); in si_pipe_set_constant_buffer()
1438 si_resource(sbuffer->buffer)->bind_history |= SI_BIND_SHADER_BUFFER(shader); in si_set_shader_buffers()
1705 } else if (buffer->bind_history & SI_BIND_VERTEX_BUFFER) { in si_rebind_buffer()
1722 if (!buffer || buffer->bind_history & SI_BIND_STREAMOUT_BUFFER) { in si_rebind_buffer()
1746 if (!buffer || buffer->bind_history & SI_BIND_CONSTANT_BUFFER_ALL) { in si_rebind_buffer()
1747 unsigned mask = buffer ? (buffer->bind_history & SI_BIND_CONSTANT_BUFFER_ALL) >> in si_rebind_buffer()
1757 if (!buffer || buffer->bind_history & SI_BIND_SHADER_BUFFER_ALL) { in si_rebind_buffer()
1758 unsigned mask = buffer ? (buffer->bind_history & SI_BIND_SHADER_BUFFER_ALL) >> in si_rebind_buffer()
[all …]
Dsi_compute_blit.c137 unsigned bind_history = si_resource(dst)->bind_history | in si_improve_sync_flags() local
138 (src ? si_resource(src)->bind_history : 0); in si_improve_sync_flags()
141 if (*flags & SI_OP_SYNC_CS_BEFORE && !(bind_history & cs_mask)) in si_improve_sync_flags()
145 if (*flags & SI_OP_SYNC_PS_BEFORE && !(bind_history & ps_mask)) { in si_improve_sync_flags()
Dsi_state_streamout.c203 si_resource(targets[i]->buffer)->bind_history |= SI_BIND_STREAMOUT_BUFFER; in si_set_streamout_targets()
Dsi_buffer.c574 buf->bind_history = 0; in si_alloc_buffer_struct()
Dsi_pipe.h338 unsigned bind_history; /* bitmask of SI_BIND_xxx_BUFFER */ member
Dsi_state.c5175 si_resource(buf)->bind_history |= SI_BIND_VERTEX_BUFFER; in si_set_vertex_buffers()
5195 si_resource(buf)->bind_history |= SI_BIND_VERTEX_BUFFER; in si_set_vertex_buffers()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resource.h78 unsigned bind_history; member
Diris_resource.c2627 if (res->bind_history & PIPE_BIND_CONSTANT_BUFFER) { in iris_dirty_for_history()
2639 if (res->bind_history & (PIPE_BIND_SAMPLER_VIEW | in iris_dirty_for_history()
2646 if (res->bind_history & PIPE_BIND_SHADER_BUFFER) { in iris_dirty_for_history()
2652 if (res->bind_history & PIPE_BIND_VERTEX_BUFFER) in iris_dirty_for_history()
2655 if (ice->state.streamout_active && (res->bind_history & PIPE_BIND_STREAM_OUTPUT)) in iris_dirty_for_history()
Diris_state.c2880 res->bind_history |= PIPE_BIND_SHADER_IMAGE; in iris_set_shader_images()
3004 view->res->bind_history |= PIPE_BIND_SAMPLER_VIEW; in iris_set_sampler_views()
3421 res->bind_history |= PIPE_BIND_CONSTANT_BUFFER; in iris_set_constant_buffer()
3563 res->bind_history |= PIPE_BIND_SHADER_BUFFER; in iris_set_shader_buffers()
3634 res->bind_history |= PIPE_BIND_VERTEX_BUFFER; in iris_set_vertex_buffers()
3830 res->bind_history |= PIPE_BIND_STREAM_OUTPUT; in iris_create_stream_output_target()
6927 res->bind_history |= PIPE_BIND_INDEX_BUFFER; in iris_upload_render_state()
7476 assert(!(res->bind_history & (PIPE_BIND_DEPTH_STENCIL | in iris_rebind_buffer()
7484 if (res->bind_history & PIPE_BIND_VERTEX_BUFFER) { in iris_rebind_buffer()
7512 if (res->bind_history & PIPE_BIND_STREAM_OUTPUT) { in iris_rebind_buffer()
[all …]
Diris_query.c670 res->bind_history |= PIPE_BIND_QUERY_BUFFER; in iris_get_query_result_resource()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resource.c1818 if (res->bind_history & PIPE_BIND_CONSTANT_BUFFER) { in crocus_dirty_for_history()
1834 if (res->bind_history & PIPE_BIND_CONSTANT_BUFFER) { in crocus_flush_bits_for_history()
1839 if (res->bind_history & PIPE_BIND_SAMPLER_VIEW) in crocus_flush_bits_for_history()
1842 if (res->bind_history & (PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_INDEX_BUFFER)) in crocus_flush_bits_for_history()
1845 if (res->bind_history & (PIPE_BIND_SHADER_BUFFER | PIPE_BIND_SHADER_IMAGE)) in crocus_flush_bits_for_history()
Dcrocus_resource.h109 unsigned bind_history; member
Dcrocus_state.c3077 res->bind_history |= PIPE_BIND_SHADER_IMAGE; in crocus_set_shader_images()
3174 view->res->bind_history |= PIPE_BIND_SAMPLER_VIEW; in crocus_set_sampler_views()
3518 res->bind_history |= PIPE_BIND_CONSTANT_BUFFER; in crocus_set_constant_buffer()
3638 res->bind_history |= PIPE_BIND_SHADER_BUFFER; in crocus_set_shader_buffers()
3686 res->bind_history |= PIPE_BIND_VERTEX_BUFFER; in crocus_set_vertex_buffers()
4026 res->bind_history |= PIPE_BIND_STREAM_OUTPUT; in crocus_create_stream_output_target()
7820 res->bind_history |= PIPE_BIND_INDEX_BUFFER;
8330 assert(!(res->bind_history & (PIPE_BIND_DEPTH_STENCIL |
8338 if (res->bind_history & PIPE_BIND_VERTEX_BUFFER) {
8349 if ((res->bind_history & PIPE_BIND_INDEX_BUFFER) &&
[all …]
Dcrocus_query.c722 res->bind_history |= PIPE_BIND_QUERY_BUFFER; in crocus_get_query_result_resource()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.h145 unsigned bind_history; member
Dr600_buffer_common.c564 rbuffer->bind_history = 0; in r600_alloc_buffer_struct()
/third_party/mesa3d/docs/relnotes/
D22.0.0.rst2773 - radeonsi: change bind_history to track usage in each shader stage
2776 - radeonsi: don't update bind_history for internal buffer clears and copies
D21.3.0.rst3141 - zink: remove bind_stages and bind_history from zink_resource