Merge pull request #1291 from ben-clayton/add-nv-nopersp
Add support for GL_NV_shader_noperspective_interpolation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
300.frag
|
||||
ERROR: 0:2: 'float' : type requires declaration of default precision qualifier
|
||||
ERROR: 0:30: 'noperspective' : Reserved word.
|
||||
ERROR: 0:30: 'noperspective' : not supported with this profile: es
|
||||
ERROR: 0:30: 'noperspective' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:31: 'sampler2D' : sampler/image types can only be used in uniform variables or function parameters: bads
|
||||
ERROR: 0:32: 'uint' : cannot apply precision statement to this type; use 'float', 'int' or a sampler type
|
||||
ERROR: 0:39: 'structure' : must be qualified as flat in
|
||||
|
||||
@@ -105,7 +105,7 @@ ERROR: 0:346: 'centroid/sample/patch' : can't use auxiliary qualifier on a fragm
|
||||
ERROR: 0:347: 'flat/smooth/noperspective' : can't use interpolation qualifier on a fragment output
|
||||
ERROR: 0:348: 'flat/smooth/noperspective' : can't use interpolation qualifier on a fragment output
|
||||
ERROR: 0:349: 'noperspective' : Reserved word.
|
||||
ERROR: 0:349: 'noperspective' : not supported with this profile: es
|
||||
ERROR: 0:349: 'noperspective' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:349: 'flat/smooth/noperspective' : can't use interpolation qualifier on a fragment output
|
||||
ERROR: 0:355: 'interpolateAtCentroid' : required extension not requested: GL_OES_shader_multisample_interpolation
|
||||
ERROR: 0:356: 'interpolateAtSample' : required extension not requested: GL_OES_shader_multisample_interpolation
|
||||
|
||||
@@ -21,7 +21,7 @@ ERROR: 0:48: 'assign' : l-value required (can't modify a const)
|
||||
ERROR: 0:51: 'patch' : cannot use interpolation qualifiers with patch
|
||||
ERROR: 0:52: 'patch' : cannot use interpolation qualifiers with patch
|
||||
ERROR: 0:53: 'noperspective' : Reserved word.
|
||||
ERROR: 0:53: 'noperspective' : not supported with this profile: es
|
||||
ERROR: 0:53: 'noperspective' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:53: 'patch' : cannot use interpolation qualifiers with patch
|
||||
ERROR: 0:54: 'sample' : Reserved word.
|
||||
ERROR: 0:54: '' : can only have one auxiliary qualifier (centroid, patch, and sample)
|
||||
|
||||
@@ -23,7 +23,7 @@ ERROR: 0:157: 'centroid/sample/patch' : can't use auxiliary qualifier on a fragm
|
||||
ERROR: 0:158: 'flat/smooth/noperspective' : can't use interpolation qualifier on a fragment output
|
||||
ERROR: 0:159: 'flat/smooth/noperspective' : can't use interpolation qualifier on a fragment output
|
||||
ERROR: 0:160: 'noperspective' : Reserved word.
|
||||
ERROR: 0:160: 'noperspective' : not supported with this profile: es
|
||||
ERROR: 0:160: 'noperspective' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:160: 'flat/smooth/noperspective' : can't use interpolation qualifier on a fragment output
|
||||
ERROR: 0:165: 'centroid/sample/patch' : can't use auxiliary qualifier on a fragment output
|
||||
ERROR: 0:180: 'interpolateAtCentroid' : no matching overloaded function found
|
||||
|
||||
@@ -21,7 +21,7 @@ ERROR: 0:44: 'assign' : l-value required (can't modify a const)
|
||||
ERROR: 0:47: 'patch' : cannot use interpolation qualifiers with patch
|
||||
ERROR: 0:48: 'patch' : cannot use interpolation qualifiers with patch
|
||||
ERROR: 0:49: 'noperspective' : Reserved word.
|
||||
ERROR: 0:49: 'noperspective' : not supported with this profile: es
|
||||
ERROR: 0:49: 'noperspective' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:49: 'patch' : cannot use interpolation qualifiers with patch
|
||||
ERROR: 0:50: '' : can only have one auxiliary qualifier (centroid, patch, and sample)
|
||||
ERROR: 0:54: 'gl_PerVertex' : block already declared with size, can't redeclare as implicitly-sized
|
||||
|
||||
38
Test/baseResults/nvShaderNoperspectiveInterpolation.frag.out
Normal file
38
Test/baseResults/nvShaderNoperspectiveInterpolation.frag.out
Normal file
@@ -0,0 +1,38 @@
|
||||
nvShaderNoperspectiveInterpolation.frag
|
||||
ERROR: 0:5: 'noperspective' : Reserved word.
|
||||
ERROR: 0:5: 'noperspective' : not supported for this version or the enabled extensions
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 300
|
||||
Requested GL_NV_shader_noperspective_interpolation
|
||||
ERROR: node is still EOpNull!
|
||||
0:13 Function Definition: main( ( global void)
|
||||
0:13 Function Parameters:
|
||||
0:14 Sequence
|
||||
0:14 move second child to first child ( temp mediump 4-component vector of float)
|
||||
0:14 'fragColor' ( out mediump 4-component vector of float)
|
||||
0:14 'color' ( noperspective in mediump 4-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'bad' ( noperspective in mediump 4-component vector of float)
|
||||
0:? 'color' ( noperspective in mediump 4-component vector of float)
|
||||
0:? 'fragColor' ( out mediump 4-component vector of float)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
Shader version: 300
|
||||
Requested GL_NV_shader_noperspective_interpolation
|
||||
ERROR: node is still EOpNull!
|
||||
0:13 Function Definition: main( ( global void)
|
||||
0:13 Function Parameters:
|
||||
0:14 Sequence
|
||||
0:14 move second child to first child ( temp mediump 4-component vector of float)
|
||||
0:14 'fragColor' ( out mediump 4-component vector of float)
|
||||
0:14 'color' ( noperspective in mediump 4-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'bad' ( noperspective in mediump 4-component vector of float)
|
||||
0:? 'color' ( noperspective in mediump 4-component vector of float)
|
||||
0:? 'fragColor' ( out mediump 4-component vector of float)
|
||||
|
||||
15
Test/nvShaderNoperspectiveInterpolation.frag
Normal file
15
Test/nvShaderNoperspectiveInterpolation.frag
Normal file
@@ -0,0 +1,15 @@
|
||||
#version 300 es
|
||||
|
||||
precision mediump float;
|
||||
|
||||
noperspective in vec4 bad; // ERROR
|
||||
|
||||
#extension GL_NV_shader_noperspective_interpolation : enable
|
||||
|
||||
noperspective in vec4 color;
|
||||
|
||||
out vec4 fragColor;
|
||||
|
||||
void main() {
|
||||
fragColor = color;
|
||||
}
|
||||
Reference in New Issue
Block a user