diff options
author | Omar Emara <mail@OmarEmara.dev> | 2022-05-06 13:58:14 +0300 |
---|---|---|
committer | Omar Emara <mail@OmarEmara.dev> | 2022-05-06 13:58:14 +0300 |
commit | 8f6f28a0dc0ad7697863e4dcd78e85f87f9fb8db (patch) | |
tree | 5a7bb4ab3526801a7b323f8b18a012cd213af5bb /source/blender/gpu/shaders/material/gpu_shader_material_hue_sat_val.glsl | |
parent | f5428736a76add4bce46da452aed6bd04ee8e71b (diff) |
GPU: Move common shaders into a common directory
This patch moves some of the utility library shaders into a common
directory and makes the necessary renames across shaders. Additionally,
material-specific transform functions were moved outside of math utils
into a separate transform_utils.glsl file.
This is needed in preparation for the viewport compositor, which will
make use of some of those utilities and will require all material
specific bit to be removed out of those files.
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D14688
Diffstat (limited to 'source/blender/gpu/shaders/material/gpu_shader_material_hue_sat_val.glsl')
-rw-r--r-- | source/blender/gpu/shaders/material/gpu_shader_material_hue_sat_val.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/material/gpu_shader_material_hue_sat_val.glsl b/source/blender/gpu/shaders/material/gpu_shader_material_hue_sat_val.glsl index 30b808508e9..5223828e176 100644 --- a/source/blender/gpu/shaders/material/gpu_shader_material_hue_sat_val.glsl +++ b/source/blender/gpu/shaders/material/gpu_shader_material_hue_sat_val.glsl @@ -1,4 +1,4 @@ -#pragma BLENDER_REQUIRE(gpu_shader_material_color_util.glsl) +#pragma BLENDER_REQUIRE(gpu_shader_common_color_utils.glsl) void hue_sat(float hue, float sat, float value, float fac, vec4 col, out vec4 outcol) { |