System Environment: -------------------------- Mesa: (master)eaf9affa5ec9c5fd919e4207ab80b4677650ac67 Xserver:(master)xorg-server-1.15.99.901 Xf86_video_intel: Xf86_video_intel:(master)2.99.911 Kernel: (drm-intel-nightly)git-ec45c7 Bug detailed description: ---------------------------- Itβs not a regression, firstly test ogl-samples. Pre-conditions: - build: https://github.com/g-truc/ogl-samples Test-case: gl-320-glsl-input-struct Expected outcome: ----------------- https://github.com/g-truc/ogl-samples/blob/master/data/templates/nvidia/gl-320-glsl-input-struct.png Actual outcome: ------------------------ - doesn't run - 0:14(1): error: vertex shader input / attribute cannot have type `vertex'
This is definitely not our bug. Their vertex shader has: #version 150 core ... struct vertex { vec2 Position; vec2 Texcoord; }; in vertex Vertex; The GLSL 1.50 specification very clearly disallows this: "Vertex shader inputs can only be float, floating-point vectors, matrices, signed and unsigned integers and integer vectors. Vertex shader inputs can also form arrays of these types, but not structures." This text is also present in GLSL 4.40.
Verified it.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.