forked from KhronosGroup/glslang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request KhronosGroup#2847 from jeremy-lunarg/hayes-fix-iss…
…ue-2846 Unblock unsized error from assert
- Loading branch information
Showing
5 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
xfbUnsizedArray.error.tese | ||
ERROR: 0:4: 'xfb_offset' : unsized array in buffer 0 | ||
ERROR: 1 compilation errors. No code generated. | ||
|
||
|
||
Shader version: 430 | ||
Requested GL_ARB_enhanced_layouts | ||
in xfb mode | ||
input primitive = isolines | ||
vertex spacing = none | ||
triangle order = none | ||
using point mode | ||
ERROR: node is still EOpNull! | ||
0:6 Function Definition: main( ( global void) | ||
0:6 Function Parameters: | ||
0:? Linker Objects | ||
0:? 'unsized' (layout( xfb_buffer=0 xfb_offset=0) out unsized 1-element array of 4-component vector of float) | ||
|
||
|
||
Linked tessellation evaluation stage: | ||
|
||
|
||
Shader version: 430 | ||
Requested GL_ARB_enhanced_layouts | ||
in xfb mode | ||
input primitive = isolines | ||
vertex spacing = equal_spacing | ||
triangle order = ccw | ||
using point mode | ||
ERROR: node is still EOpNull! | ||
0:6 Function Definition: main( ( global void) | ||
0:6 Function Parameters: | ||
0:? Linker Objects | ||
0:? 'unsized' (layout( xfb_buffer=0 xfb_offset=0) out 1-element array of 4-component vector of float) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#version 430 core | ||
#extension GL_ARB_enhanced_layouts : require | ||
layout(isolines, point_mode) in; | ||
layout (xfb_offset = 0) out vec4 unsized[]; // error: unsized array | ||
|
||
void main() | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters