Blender Git Commit Log

Git Commits -> Revision 090432e

Revision 090432e by Omar Emara (viewport-compositor)
November 6, 2021, 20:25 (GMT)
GPU: Move shader utils into a common directory

This patches moves the math, color, and hash utils shader libraries into
a common directory to be used by both the compositor and materials.

Commit Details:

Full Hash: 090432e416f1e2cbc90e27d844d18c78f14423ea
Parent Commit: 85dc728
Lines Changed: +577, -578

3 Added Paths:

/source/blender/gpu/shaders/common/gpu_shader_common_color_util.glsl (+111, -0) (View)
/source/blender/gpu/shaders/common/gpu_shader_common_hash.glsl (+217, -0) (View)
/source/blender/gpu/shaders/common/gpu_shader_common_math_util.glsl (+208, -0) (View)

3 Deleted Paths:

/source/blender/gpu/shaders/material/gpu_shader_material_color_util.glsl (+0, -111)
/source/blender/gpu/shaders/material/gpu_shader_material_hash.glsl (+0, -217)
/source/blender/gpu/shaders/material/gpu_shader_material_math_util.glsl (+0, -208)

2 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+4, -3) (Diff)
/source/blender/gpu/intern/gpu_material_library.c (+37, -39) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021