Fix bugs in missing Builtin decoration for some NV builtins for tessellation

control shaders.
Fix bug in member remapping.
This commit is contained in:
Ashwin Lele
2019-07-22 12:36:38 -07:00
parent 2bb2da9193
commit c1e61d6cff
10 changed files with 77 additions and 58 deletions

View File

@@ -15,5 +15,5 @@ layout (viewport_relative, secondary_view_offset = 1) out highp int gl_Layer;
void main()
{
gl_out[gl_InvocationID].gl_SecondaryViewportMaskNV[0] = 1;
gl_out[gl_InvocationID].gl_SecondaryPositionNV = gl_in[1].gl_Position;
gl_out[gl_InvocationID].gl_SecondaryPositionNV = gl_in[1].gl_Position + gl_in[1].gl_SecondaryPositionNV;
}