diff options
author | Dave Airlie <[email protected]> | 2017-04-19 09:13:06 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-04-19 10:03:05 +1000 |
commit | 03a2ca63562b73d36658e43c0d7d77150421be60 (patch) | |
tree | aea603afee4b7211f294b88f61dac4953cf7f4ae /src/amd/vulkan/radv_meta.h | |
parent | bdd98d950fd7138b4625571964ad0cc76905d4f7 (diff) |
radv/meta: refactor out some common shaders.
The vs vertex generate and fs noop shaders are used in a few places,
so refactor them out.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta.h')
-rw-r--r-- | src/amd/vulkan/radv_meta.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_meta.h b/src/amd/vulkan/radv_meta.h index 5cf5d62098c..2a6b0243e8c 100644 --- a/src/amd/vulkan/radv_meta.h +++ b/src/amd/vulkan/radv_meta.h @@ -227,6 +227,8 @@ void radv_blit_to_prime_linear(struct radv_cmd_buffer *cmd_buffer, nir_ssa_def *radv_meta_gen_rect_vertices(nir_builder *vs_b); nir_ssa_def *radv_meta_gen_rect_vertices_comp2(nir_builder *vs_b, nir_ssa_def *comp2); +nir_shader *radv_meta_build_nir_vs_generate_vertices(void); +nir_shader *radv_meta_build_nir_fs_noop(void); #ifdef __cplusplus } #endif |