소스 검색

Merge pull request #59159 from RandomShaper/fix_blend_shapes_3.4

Rémi Verschelde 3 년 전
부모
커밋
69e9e8f87d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/gles3/shaders/blend_shape.glsl

+ 1 - 1
drivers/gles3/shaders/blend_shape.glsl

@@ -26,7 +26,7 @@ ARRAY_INDEX=8,
 layout(location = 0) in highp VFORMAT vertex_attrib;
 layout(location = 0) in highp VFORMAT vertex_attrib;
 /* clang-format on */
 /* clang-format on */
 #ifdef ENABLE_OCTAHEDRAL_COMPRESSION
 #ifdef ENABLE_OCTAHEDRAL_COMPRESSION
-layout(location = 2) in vec4 normal_tangent_attrib;
+layout(location = 1) in vec4 normal_tangent_attrib;
 #else
 #else
 layout(location = 1) in vec3 normal_attrib;
 layout(location = 1) in vec3 normal_attrib;
 #endif
 #endif