render/vulkan: add lut3d output shader option

While a corresponding pipeline is created, it is not yet used.
This commit is contained in:
Manuel Stoeckl 2024-01-06 21:15:12 -05:00 committed by Simon Ser
parent c64144a39b
commit adbfd3c321
4 changed files with 57 additions and 10 deletions

View file

@ -109,7 +109,7 @@ static bool render_pass_submit(struct wlr_render_pass *wlr_pass) {
};
mat3_to_mat4(final_matrix, vert_pcr_data.mat4);
bind_pipeline(pass, render_buffer->render_setup->output_pipe);
bind_pipeline(pass, render_buffer->render_setup->output_pipe_srgb);
vkCmdPushConstants(render_cb->vk, renderer->output_pipe_layout,
VK_SHADER_STAGE_VERTEX_BIT, 0, sizeof(vert_pcr_data), &vert_pcr_data);
vkCmdPushConstants(render_cb->vk, renderer->output_pipe_layout,