mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 20:58:04 +02:00
zink: mark some draw functions inline
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10997>
This commit is contained in:
parent
c2973213d7
commit
1a7045acaf
1 changed files with 2 additions and 2 deletions
|
|
@ -101,14 +101,14 @@ zink_emit_stream_output_targets(struct pipe_context *pctx)
|
|||
ctx->dirty_so_targets = false;
|
||||
}
|
||||
|
||||
static void
|
||||
ALWAYS_INLINE static void
|
||||
check_buffer_barrier(struct zink_context *ctx, struct pipe_resource *pres, VkAccessFlags flags, VkPipelineStageFlags pipeline)
|
||||
{
|
||||
struct zink_resource *res = zink_resource(pres);
|
||||
zink_resource_buffer_barrier(ctx, NULL, res, flags, pipeline);
|
||||
}
|
||||
|
||||
static void
|
||||
ALWAYS_INLINE static void
|
||||
barrier_draw_buffers(struct zink_context *ctx, const struct pipe_draw_info *dinfo,
|
||||
const struct pipe_draw_indirect_info *dindirect, struct pipe_resource *index_buffer)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue