Differential D16826 Diff 59819 source/blender/draw/engines/workbench/shaders/infos/workbench_merge_infront_info.hh
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/workbench/shaders/infos/workbench_merge_infront_info.hh
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||||
| #include "gpu_shader_create_info.hh" | #include "gpu_shader_create_info.hh" | ||||
| GPU_SHADER_CREATE_INFO(workbench_merge_infront) | GPU_SHADER_CREATE_INFO(workbench_merge_infront) | ||||
| .fragment_out(0, Type::VEC4, "fragColor") | .fragment_out(0, Type::VEC4, "fragColor") | ||||
| .sampler(0, ImageType::DEPTH_2D, "depthBuffer") | .sampler(0, ImageType::DEPTH_2D, "depthBuffer") | ||||
| .fragment_source("workbench_merge_infront_frag.glsl") | .fragment_source("workbench_merge_infront_frag.glsl") | ||||
| .additional_info("draw_fullscreen") | .additional_info("draw_fullscreen") | ||||
| .depth_write(DepthWrite::ANY) | .depth_write(DepthWrite::ANY) | ||||
| .do_static_compilation(true); | .do_static_compilation(true); | ||||
| GPU_SHADER_CREATE_INFO(workbench_next_merge_depth) | |||||
| .sampler(0, ImageType::DEPTH_2D, "depth_tx") | |||||
| .fragment_source("workbench_next_merge_depth_frag.glsl") | |||||
| .additional_info("draw_fullscreen") | |||||
| .depth_write(DepthWrite::ANY) | |||||
| .do_static_compilation(true); | |||||