diff options
author | Jonathan Marek <[email protected]> | 2019-11-18 18:41:23 -0500 |
---|---|---|
committer | Jonathan Marek <[email protected]> | 2019-11-19 21:35:37 +0000 |
commit | d68acdb3b9cc614f909bae40af60d08dc8fe51ea (patch) | |
tree | 238909c06fdca5e569f9c324d8e0be02f5bb753e /src/freedreno/vulkan/tu_private.h | |
parent | 7eb7969213ca0a166e2869a55e0e991389087dad (diff) |
turnip: implement CmdClearColorImage/CmdClearDepthStencilImage
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r-- | src/freedreno/vulkan/tu_private.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h index ef306c92aea..958fc169aaa 100644 --- a/src/freedreno/vulkan/tu_private.h +++ b/src/freedreno/vulkan/tu_private.h @@ -1229,6 +1229,13 @@ void tu_pack_clear_value(const VkClearValue *val, VkFormat format, uint32_t buf[4]); + +void +tu_2d_clear_color(const VkClearColorValue *val, VkFormat format, uint32_t buf[4]); + +void +tu_2d_clear_zs(const VkClearDepthStencilValue *val, VkFormat format, uint32_t buf[4]); + enum a6xx_2d_ifmt tu6_rb_fmt_to_ifmt(enum a6xx_color_fmt fmt); enum a6xx_depth_format tu6_pipe2depth(VkFormat format); |