diff options
author | Dave Airlie <[email protected]> | 2017-04-18 15:50:10 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-04-19 10:02:53 +1000 |
commit | dd17e4ceb40efdd8895b24eb3940771bf64208f1 (patch) | |
tree | fdf445a25e0f295c61dd6c9fb6bbe27c5ef135e9 /src/amd/vulkan/radv_meta.h | |
parent | 84b9e3a831b7e5af047792cc9dd1bea4e07827ac (diff) |
radv/meta: reduce vertex buffer usage in clear shaders
For depth clears we have to pass the depth in the 2nd
component, we can use push constants for some of this
later to drop the vertex buffer completely
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, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_meta.h b/src/amd/vulkan/radv_meta.h index 6cad94c89e0..5cf5d62098c 100644 --- a/src/amd/vulkan/radv_meta.h +++ b/src/amd/vulkan/radv_meta.h @@ -226,7 +226,7 @@ void radv_blit_to_prime_linear(struct radv_cmd_buffer *cmd_buffer, #include "nir_builder.h" 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); #ifdef __cplusplus } #endif |