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
path: root/intern
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2015-11-25 09:49:07 +0300
committerMike Erwin <significant.bit@gmail.com>2015-11-25 09:49:07 +0300
commite6fff424dbcd02c3fed25036a7feb7f59d427843 (patch)
tree7e4c385e4dbbb8e9f09355d010173701e8e19bf0 /intern
parent22ec7b17d29d689d378791b56505aad62401230b (diff)
OpenGL: set geometry shader input length implicitly
Input array length is implicitly set at link time, based on the geometry shader's layout. Specifying the wrong value here is an error; specifying no value is the same as getting it right. (inspired by a recent codegen change)
Diffstat (limited to 'intern')
-rw-r--r--intern/opensubdiv/gpu_shader_opensubd_display.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/opensubdiv/gpu_shader_opensubd_display.glsl b/intern/opensubdiv/gpu_shader_opensubd_display.glsl
index d32a1787d4b..57bbfa89714 100644
--- a/intern/opensubdiv/gpu_shader_opensubd_display.glsl
+++ b/intern/opensubdiv/gpu_shader_opensubd_display.glsl
@@ -81,7 +81,7 @@ uniform int osd_active_uv_offset;
in block {
VertexData v;
-} inpt[4];
+} inpt[];
#define INTERP_FACE_VARYING_2(result, fvarOffset, tessCoord) \
{ \