diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-17 08:46:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 08:46:23 +0100 |
commit | c30aa372cad400c08f9f95e90cd68ffac5b9187c (patch) | |
tree | 17bb2f7d25f2ef5a99c29bcd93bc2c9086209105 /servers/rendering/renderer_rd/forward_clustered | |
parent | 3c04522ece1cedccdd1d5fff919a5d4e223bed50 (diff) | |
parent | 358820c4b7130014910ad07ebf1694d4e0b5ca16 (diff) |
Merge pull request #55029 from clayjohn/VULKAN-SRGB
Add SHADER_IS_SRGB define to Vulkan renderer
Diffstat (limited to 'servers/rendering/renderer_rd/forward_clustered')
-rw-r--r-- | servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp b/servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp index 6ae76c9bf2..61f2031a70 100644 --- a/servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp +++ b/servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp @@ -585,6 +585,7 @@ void SceneShaderForwardClustered::init(RendererStorageRD *p_storage, const Strin actions.renames["CUSTOM1"] = "custom1_attrib"; actions.renames["CUSTOM2"] = "custom2_attrib"; actions.renames["CUSTOM3"] = "custom3_attrib"; + actions.renames["OUTPUT_IS_SRGB"] = "SHADER_IS_SRGB"; // not implemented but need these just in case code is in the shaders actions.renames["VIEW_INDEX"] = "0"; |