turnip: translate CreateRenderPass to CreateRenderPass2

Graphics / Mesa 3D Graphics Library / Mesa - Jonathan Marek [marek.ca] - 24 June 2020 22:12 UTC

It doesn't cut down the code size by much, and might not be the ideal for performance (unless the compiler is unexpectedly smart), but makes it easier to maintain (no modifying the same code in two places) and will allow some simplifications since we wont have to worry about trying to share code between the two versions.

70046145d19 turnip: translate CreateRenderPass to CreateRenderPass2
src/freedreno/vulkan/tu_pass.c | 238 ++++++++++++++++++-----------------------
1 file changed, 106 insertions(+), 132 deletions(-)

Upstream: cgit.freedesktop.org


  • Share