diff options
author | Jonathan Marek <[email protected]> | 2020-06-11 08:38:18 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-12 15:09:06 +0000 |
commit | 093c4137224a59536af9e8062f5c98c2dc136ba1 (patch) | |
tree | f01d98e6c4b0264e0caea663d0c0098573e66dbb /src/freedreno/vulkan/tu_private.h | |
parent | 13525a9c706bc3b5aef2b9bc649644f2e3607f31 (diff) |
turnip: share code between 3D blit/clear path and tu_pipeline
Instead of filling out registers manually, fill out ir3 structs and re-use
code from tu_pipeline.
Signed-off-by: Jonathan Marek <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5426>
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r-- | src/freedreno/vulkan/tu_private.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h index 76803423629..1e1fdc1c61a 100644 --- a/src/freedreno/vulkan/tu_private.h +++ b/src/freedreno/vulkan/tu_private.h @@ -1445,6 +1445,22 @@ void tu6_emit_window_scissor(struct tu_cs *cs, uint32_t x1, uint32_t y1, uint32_ void tu6_emit_window_offset(struct tu_cs *cs, uint32_t x1, uint32_t y1); +void +tu6_emit_xs_config(struct tu_cs *cs, + gl_shader_stage stage, + const struct ir3_shader_variant *xs, + uint64_t binary_iova); + +void +tu6_emit_vpc(struct tu_cs *cs, + const struct ir3_shader_variant *vs, + const struct ir3_shader_variant *gs, + const struct ir3_shader_variant *fs, + struct tu_streamout_state *tf); + +void +tu6_emit_fs_inputs(struct tu_cs *cs, const struct ir3_shader_variant *fs); + struct tu_image_view; void |