blob: 54d849f1fedbb84fbce0ea217bf15b7a96c30ddf [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_GRAPHICS_LIB_COMPUTE_SPINEL_PLATFORMS_VK_STYLING_IMPL_H_
#define SRC_GRAPHICS_LIB_COMPUTE_SPINEL_PLATFORMS_VK_STYLING_IMPL_H_
//
//
//
#include <vulkan/vulkan_core.h>
#include "dispatch.h"
#include "styling.h"
//
//
//
struct spn_device;
struct spn_vk_ds_styling_t;
//
//
//
spn_result_t
spn_styling_impl_create(struct spn_device * const device,
struct spn_styling ** const styling,
uint32_t const dwords_count,
uint32_t const layers_count);
//
//
//
void
spn_styling_happens_before(struct spn_styling * const styling, spn_dispatch_id_t const id);
void
spn_styling_pre_render_bind_ds(struct spn_styling * const styling,
struct spn_vk_ds_styling_t * const ds,
VkCommandBuffer cb);
void
spn_styling_post_render(struct spn_styling * const styling);
//
//
//
#endif // SRC_GRAPHICS_LIB_COMPUTE_SPINEL_PLATFORMS_VK_STYLING_IMPL_H_