mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
render/vulkan: Remove the dummy pool for lut3d
We don't need it now that we have shader variants
This commit is contained in:
parent
26006035b6
commit
75cf7ceec9
3 changed files with 0 additions and 124 deletions
|
|
@ -981,14 +981,6 @@ struct wlr_vk_render_pass *vulkan_begin_render_pass(struct wlr_vk_renderer *rend
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (!renderer->dummy3d_image_transitioned) {
|
||||
renderer->dummy3d_image_transitioned = true;
|
||||
vulkan_change_layout(cb->vk, renderer->dummy3d_image,
|
||||
VK_IMAGE_LAYOUT_UNDEFINED, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
|
||||
0, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,
|
||||
VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, VK_ACCESS_SHADER_READ_BIT);
|
||||
}
|
||||
|
||||
int width = buffer->wlr_buffer->width;
|
||||
int height = buffer->wlr_buffer->height;
|
||||
VkRect2D rect = { .extent = { width, height } };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue