From 94ba670fac653b2ff446ca62ca4389583eba6b8b Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 17 Oct 2025 11:43:50 +0200 Subject: [PATCH] Cleanup: Remove rendundant code Frontfacing was set twice. --- source/blender/gpu/vulkan/vk_pipeline_pool.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/blender/gpu/vulkan/vk_pipeline_pool.cc b/source/blender/gpu/vulkan/vk_pipeline_pool.cc index f634958e367..48ba2aebea0 100644 --- a/source/blender/gpu/vulkan/vk_pipeline_pool.cc +++ b/source/blender/gpu/vulkan/vk_pipeline_pool.cc @@ -278,9 +278,6 @@ VkPipeline VKPipelinePool::get_or_create_graphics_pipeline(VKGraphicsInfo &graph graphics_info.vertex_in.bindings.size(); /* Rasterization state */ - vk_pipeline_rasterization_state_create_info_.frontFace = graphics_info.state.invert_facing ? - VK_FRONT_FACE_COUNTER_CLOCKWISE : - VK_FRONT_FACE_CLOCKWISE; vk_pipeline_rasterization_state_create_info_.cullMode = to_vk_cull_mode_flags( static_cast(graphics_info.state.culling_test)); if (graphics_info.state.shadow_bias) {