Searched refs:bind_history (Results 1 – 14 of 14) sorted by relevance
80 const unsigned bind_history = virgl_resource(res)->bind_history; in virgl_can_rebind_resource() local81 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() local99 (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 …]
52 res->bind_history |= PIPE_BIND_STREAM_OUTPUT; in virgl_create_so_target()
69 unsigned bind_history; member
519 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()
201 si_resource(targets[i]->buffer)->bind_history |= PIPE_BIND_STREAM_OUTPUT; in si_set_streamout_targets()
656 buf->bind_history = 0; in si_alloc_buffer_struct()
274 unsigned bind_history; member
4821 si_resource(buf)->bind_history |= PIPE_BIND_VERTEX_BUFFER; in si_set_vertex_buffers()
1331 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()
75 unsigned bind_history; member
2764 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 …]
668 res->bind_history |= PIPE_BIND_QUERY_BUFFER; in iris_get_query_result_resource()
150 unsigned bind_history; member
588 rbuffer->bind_history = 0; in r600_alloc_buffer_struct()