Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2022-05-02 02:31:24 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-05-02 02:31:24 +0300
commita5644f9a28ea46892f9a480a5bb7b44a8f0c8759 (patch)
tree36a24c5ad73a8ea7e59d2e38968d95ed73c0acbc /source/blender/gpu/shaders/gpu_shader_instance_variying_size_variying_color_vert.glsl
parentaaab3c8ad4e3fca6920f0888c5e4f68ad12d6dd3 (diff)
Cleanup: GPUBuiltinShader: Remove old shader interfaces
This leaves some of the unresolved case where we still need both implementation.
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_instance_variying_size_variying_color_vert.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_instance_variying_size_variying_color_vert.glsl17
1 files changed, 0 insertions, 17 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_instance_variying_size_variying_color_vert.glsl b/source/blender/gpu/shaders/gpu_shader_instance_variying_size_variying_color_vert.glsl
index 14450037ca8..7a4c8494d74 100644
--- a/source/blender/gpu/shaders/gpu_shader_instance_variying_size_variying_color_vert.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_instance_variying_size_variying_color_vert.glsl
@@ -1,20 +1,3 @@
-#ifndef USE_GPU_SHADER_CREATE_INFO
-uniform mat4 ViewProjectionMatrix;
-
-/* ---- Instantiated Attrs ---- */
-in vec3 pos;
-
-/* ---- Per instance Attrs ---- */
-in mat4 InstanceModelMatrix;
-in vec4 color;
-# ifdef UNIFORM_SCALE
-in float size;
-# else
-in vec3 size;
-# endif
-
-flat out vec4 finalColor;
-#endif
void main()
{