Browse Source

more changes to this

pull/2726/head
Ribbit 5 months ago
committed by crueter
parent
commit
1450cafdad
  1. 4
      src/video_core/renderer_vulkan/blit_image.cpp

4
src/video_core/renderer_vulkan/blit_image.cpp

@ -1046,7 +1046,7 @@ void BlitImageHelper::ConvertDepthToColorPipeline(vk::Pipeline& pipeline, VkRend
if (pipeline) {
return;
}
VkShaderModule frag_shader = *convert_float_to_depth_frag;
VkShaderModule frag_shader = *convert_depth_to_float_frag;
const std::array stages = MakeStages(*full_screen_vert, frag_shader);
const VkPipelineInputAssemblyStateCreateInfo input_assembly_ci = GetPipelineInputAssemblyStateCreateInfo(device);
pipeline = device.GetLogical().CreateGraphicsPipeline({
@ -1076,7 +1076,7 @@ void BlitImageHelper::ConvertColorToDepthPipeline(vk::Pipeline& pipeline, VkRend
if (pipeline) {
return;
}
VkShaderModule frag_shader = *convert_depth_to_float_frag;
VkShaderModule frag_shader = *convert_float_to_depth_frag;
const std::array stages = MakeStages(*full_screen_vert, frag_shader);
const VkPipelineInputAssemblyStateCreateInfo input_assembly_ci = GetPipelineInputAssemblyStateCreateInfo(device);
pipeline = device.GetLogical().CreateGraphicsPipeline({

Loading…
Cancel
Save