Differential D15898 Diff 56015 source/blender/draw/engines/overlay/shaders/infos/overlay_background_info.hh
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/overlay/shaders/infos/overlay_background_info.hh
| Show All 9 Lines | GPU_SHADER_CREATE_INFO(overlay_background) | ||||
| .push_constant(Type::INT, "bgType") | .push_constant(Type::INT, "bgType") | ||||
| .push_constant(Type::VEC4, "colorOverride") | .push_constant(Type::VEC4, "colorOverride") | ||||
| .fragment_source("overlay_background_frag.glsl") | .fragment_source("overlay_background_frag.glsl") | ||||
| .fragment_out(0, Type::VEC4, "fragColor") | .fragment_out(0, Type::VEC4, "fragColor") | ||||
| .additional_info("draw_fullscreen", "draw_globals"); | .additional_info("draw_fullscreen", "draw_globals"); | ||||
| GPU_SHADER_CREATE_INFO(overlay_clipbound) | GPU_SHADER_CREATE_INFO(overlay_clipbound) | ||||
| .do_static_compilation(true) | .do_static_compilation(true) | ||||
| .push_constant(Type::VEC4, "color") | .push_constant(Type::VEC4, "ucolor") | ||||
| .push_constant(Type::VEC3, "boundbox", 8) | .push_constant(Type::VEC3, "boundbox", 8) | ||||
| .vertex_source("overlay_clipbound_vert.glsl") | .vertex_source("overlay_clipbound_vert.glsl") | ||||
| .fragment_out(0, Type::VEC4, "fragColor") | .fragment_out(0, Type::VEC4, "fragColor") | ||||
| .fragment_source("overlay_uniform_color_frag.glsl") | .fragment_source("overlay_uniform_color_frag.glsl") | ||||
| .additional_info("draw_view"); | .additional_info("draw_view"); | ||||