Differential D16990 Diff 60050 source/blender/draw/engines/eevee_next/shaders/infos/eevee_depth_of_field_info.hh
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/eevee_next/shaders/infos/eevee_depth_of_field_info.hh
| Show All 32 Lines | GPU_SHADER_CREATE_INFO(eevee_depth_of_field_stabilize) | ||||
| .local_group_size(DOF_STABILIZE_GROUP_SIZE, DOF_STABILIZE_GROUP_SIZE) | .local_group_size(DOF_STABILIZE_GROUP_SIZE, DOF_STABILIZE_GROUP_SIZE) | ||||
| .additional_info("eevee_shared", "draw_view", "eevee_velocity_camera") | .additional_info("eevee_shared", "draw_view", "eevee_velocity_camera") | ||||
| .uniform_buf(6, "DepthOfFieldData", "dof_buf") | .uniform_buf(6, "DepthOfFieldData", "dof_buf") | ||||
| .sampler(0, ImageType::FLOAT_2D, "coc_tx") | .sampler(0, ImageType::FLOAT_2D, "coc_tx") | ||||
| .sampler(1, ImageType::FLOAT_2D, "color_tx") | .sampler(1, ImageType::FLOAT_2D, "color_tx") | ||||
| .sampler(2, ImageType::FLOAT_2D, "velocity_tx") | .sampler(2, ImageType::FLOAT_2D, "velocity_tx") | ||||
| .sampler(3, ImageType::FLOAT_2D, "in_history_tx") | .sampler(3, ImageType::FLOAT_2D, "in_history_tx") | ||||
| .sampler(4, ImageType::DEPTH_2D, "depth_tx") | .sampler(4, ImageType::DEPTH_2D, "depth_tx") | ||||
| .push_constant(Type::BOOL, "use_history") | .push_constant(Type::BOOL, "u_use_history") | ||||
| .image(0, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "out_color_img") | .image(0, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "out_color_img") | ||||
| .image(1, GPU_R16F, Qualifier::WRITE, ImageType::FLOAT_2D, "out_coc_img") | .image(1, GPU_R16F, Qualifier::WRITE, ImageType::FLOAT_2D, "out_coc_img") | ||||
| .image(2, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "out_history_img") | .image(2, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "out_history_img") | ||||
| .compute_source("eevee_depth_of_field_stabilize_comp.glsl"); | .compute_source("eevee_depth_of_field_stabilize_comp.glsl"); | ||||
| GPU_SHADER_CREATE_INFO(eevee_depth_of_field_downsample) | GPU_SHADER_CREATE_INFO(eevee_depth_of_field_downsample) | ||||
| .do_static_compilation(true) | .do_static_compilation(true) | ||||
| .local_group_size(DOF_DEFAULT_GROUP_SIZE, DOF_DEFAULT_GROUP_SIZE) | .local_group_size(DOF_DEFAULT_GROUP_SIZE, DOF_DEFAULT_GROUP_SIZE) | ||||
| ▲ Show 20 Lines • Show All 198 Lines • Show Last 20 Lines | |||||