Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c80 const unsigned bind_history = virgl_resource(res)->bind_history; in virgl_can_rebind_resource() local
81 return res->target == PIPE_BUFFER && !(bind_history & unsupported_bind); in virgl_can_rebind_resource()
95 const unsigned bind_history = virgl_resource(res)->bind_history; in virgl_rebind_resource() local
99 (bind_history & tracked_bind) == bind_history); in virgl_rebind_resource()
101 if (bind_history & PIPE_BIND_VERTEX_BUFFER) { in virgl_rebind_resource()
110 if (bind_history & PIPE_BIND_SHADER_BUFFER) { in virgl_rebind_resource()
122 if (bind_history & (PIPE_BIND_CONSTANT_BUFFER | in virgl_rebind_resource()
130 if (bind_history & PIPE_BIND_CONSTANT_BUFFER) { in virgl_rebind_resource()
144 if (bind_history & PIPE_BIND_SHADER_BUFFER) { in virgl_rebind_resource()
156 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.h69 unsigned bind_history; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c519 tex->buffer.bind_history |= PIPE_BIND_SAMPLER_VIEW; in si_set_sampler_view()
779 res->bind_history |= PIPE_BIND_SHADER_IMAGE; in si_set_shader_image()
1174 si_resource(input->buffer)->bind_history |= PIPE_BIND_CONSTANT_BUFFER; in si_pipe_set_constant_buffer()
1282 si_resource(sbuffer->buffer)->bind_history |= PIPE_BIND_SHADER_BUFFER; in si_set_shader_buffers()
1533 } else if (buffer->bind_history & PIPE_BIND_VERTEX_BUFFER) { in si_rebind_buffer()
1550 if (!buffer || buffer->bind_history & PIPE_BIND_STREAM_OUTPUT) { in si_rebind_buffer()
1574 if (!buffer || buffer->bind_history & PIPE_BIND_CONSTANT_BUFFER) { in si_rebind_buffer()
1582 if (!buffer || buffer->bind_history & PIPE_BIND_SHADER_BUFFER) { in si_rebind_buffer()
1594 if (!buffer || buffer->bind_history & PIPE_BIND_SAMPLER_VIEW) { in si_rebind_buffer()
1620 if (!buffer || buffer->bind_history & PIPE_BIND_SHADER_IMAGE) { in si_rebind_buffer()
Dsi_state_streamout.c201 si_resource(targets[i]->buffer)->bind_history |= PIPE_BIND_STREAM_OUTPUT; in si_set_streamout_targets()
Dsi_buffer.c656 buf->bind_history = 0; in si_alloc_buffer_struct()
Dsi_pipe.h274 unsigned bind_history; member
Dsi_state.c4821 si_resource(buf)->bind_history |= PIPE_BIND_VERTEX_BUFFER; in si_set_vertex_buffers()
/external/mesa3d/src/gallium/drivers/iris/
Diris_resource.c1331 if (res->bind_history & PIPE_BIND_STREAM_OUTPUT) in iris_invalidate_resource()
2123 if (res->bind_history & PIPE_BIND_CONSTANT_BUFFER) { in iris_dirty_for_history()
2143 if (res->bind_history & PIPE_BIND_CONSTANT_BUFFER) { in iris_flush_bits_for_history()
2150 if (res->bind_history & PIPE_BIND_SAMPLER_VIEW) in iris_flush_bits_for_history()
2153 if (res->bind_history & (PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_INDEX_BUFFER)) in iris_flush_bits_for_history()
2156 if (res->bind_history & (PIPE_BIND_SHADER_BUFFER | PIPE_BIND_SHADER_IMAGE)) in iris_flush_bits_for_history()
Diris_resource.h75 unsigned bind_history; member
Diris_state.c2764 res->bind_history |= PIPE_BIND_SHADER_IMAGE; in iris_set_shader_images()
2864 view->res->bind_history |= PIPE_BIND_SAMPLER_VIEW; in iris_set_sampler_views()
3244 res->bind_history |= PIPE_BIND_CONSTANT_BUFFER; in iris_set_constant_buffer()
3386 res->bind_history |= PIPE_BIND_SHADER_BUFFER; in iris_set_shader_buffers()
3443 res->bind_history |= PIPE_BIND_VERTEX_BUFFER; in iris_set_vertex_buffers()
3627 res->bind_history |= PIPE_BIND_STREAM_OUTPUT; in iris_create_stream_output_target()
6479 res->bind_history |= PIPE_BIND_INDEX_BUFFER; in iris_upload_render_state()
6970 assert(!(res->bind_history & (PIPE_BIND_DEPTH_STENCIL | in iris_rebind_buffer()
6978 if (res->bind_history & PIPE_BIND_VERTEX_BUFFER) { in iris_rebind_buffer()
7005 if (res->bind_history & PIPE_BIND_STREAM_OUTPUT) { in iris_rebind_buffer()
[all …]
Diris_query.c668 res->bind_history |= PIPE_BIND_QUERY_BUFFER; in iris_get_query_result_resource()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.h150 unsigned bind_history; member
Dr600_buffer_common.c588 rbuffer->bind_history = 0; in r600_alloc_buffer_struct()