Commit: 4150ce36e2555a679c2fc5b6f7756977ff7243de
Author: Jeroen Bakker
Date:   Fri Jan 21 11:57:31 2022 +0100
Branches: tmp-T95052
https://developer.blender.org/rB4150ce36e2555a679c2fc5b6f7756977ff7243de

Test to see if order of vertex_in matters.

===================================================================

M       
source/blender/gpu/shaders/infos/gpu_shader_2D_image_overlays_merge_info.hh

===================================================================

diff --git 
a/source/blender/gpu/shaders/infos/gpu_shader_2D_image_overlays_merge_info.hh 
b/source/blender/gpu/shaders/infos/gpu_shader_2D_image_overlays_merge_info.hh
index c2c0e9fec78..b05bb2703fd 100644
--- 
a/source/blender/gpu/shaders/infos/gpu_shader_2D_image_overlays_merge_info.hh
+++ 
b/source/blender/gpu/shaders/infos/gpu_shader_2D_image_overlays_merge_info.hh
@@ -25,8 +25,8 @@
 #include "gpu_shader_create_info.hh"
 
 GPU_SHADER_CREATE_INFO(gpu_shader_2D_image_overlays_merge)
-    .vertex_in(0, Type::VEC2, "pos")
-    .vertex_in(1, Type::VEC2, "texCoord")
+    .vertex_in(0, Type::VEC2, "texCoord")
+    .vertex_in(1, Type::VEC2, "pos")
     .vertex_out(smooth_tex_coord_interp_iface)
     .fragment_out(0, Type::VEC4, "fragColor")
     .push_constant(0, Type::MAT4, "ModelViewProjectionMatrix")

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to