Searched refs:bind_history (Results 1 – 21 of 21) sorted by relevance
81 const unsigned bind_history = virgl_resource(res)->bind_history; in virgl_can_rebind_resource() local82 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() local100 (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 …]
52 res->bind_history |= PIPE_BIND_STREAM_OUTPUT; in virgl_create_so_target()
68 unsigned bind_history; member
551 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 …]
137 unsigned bind_history = si_resource(dst)->bind_history | in si_improve_sync_flags() local138 (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()
203 si_resource(targets[i]->buffer)->bind_history |= SI_BIND_STREAMOUT_BUFFER; in si_set_streamout_targets()
574 buf->bind_history = 0; in si_alloc_buffer_struct()
338 unsigned bind_history; /* bitmask of SI_BIND_xxx_BUFFER */ member
5175 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()
78 unsigned bind_history; member
2627 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()
2880 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 …]
670 res->bind_history |= PIPE_BIND_QUERY_BUFFER; in iris_get_query_result_resource()
1818 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()
109 unsigned bind_history; member
3077 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 …]
722 res->bind_history |= PIPE_BIND_QUERY_BUFFER; in crocus_get_query_result_resource()
145 unsigned bind_history; member
564 rbuffer->bind_history = 0; in r600_alloc_buffer_struct()
2773 - radeonsi: change bind_history to track usage in each shader stage2776 - radeonsi: don't update bind_history for internal buffer clears and copies
3141 - zink: remove bind_stages and bind_history from zink_resource