 610fd6edf3
			
		
	
	
		610fd6edf3
		
			
		
	
	
	
	
		
			
			* Prevent Push Constant blocks being an array * Add push constant array error test Co-authored-by: Greg Fischer <greg@lunarg.com>
		
			
				
	
	
		
			65 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			65 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| vulkan.frag
 | |
| ERROR: 0:3: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:4: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:5: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:6: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:8: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:9: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:10: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:14: 'sampler2D' : sampler-constructor requires two arguments 
 | |
| ERROR: 0:15: 'sampler2D' : sampler-constructor first argument must be a scalar *texture* type 
 | |
| ERROR: 0:16: 'sampler2D' : sampler-constructor first argument must be a scalar *texture* type 
 | |
| ERROR: 0:17: 'sampler2D' : sampler-constructor second argument must be a scalar sampler or samplerShadow 
 | |
| ERROR: 0:18: 'sampler2D' : sampler-constructor second argument must be a scalar sampler or samplerShadow 
 | |
| ERROR: 0:19: 'sampler2D' : sampler-constructor second argument must be a scalar sampler or samplerShadow 
 | |
| ERROR: 0:21: 'sampler3D' : sampler-constructor cannot make an array of samplers 
 | |
| ERROR: 0:22: 'sampler2D' : sampler-constructor first argument must be a scalar *texture* type 
 | |
| ERROR: 0:23: 'sampler2D' : sampler-constructor first argument must be a *texture* type matching the dimensionality and sampled type of the constructor 
 | |
| ERROR: 0:28: 'sampler2D' : sampler/image types can only be used in uniform variables or function parameters: s2D
 | |
| ERROR: 0:29: 'sampler3D' : sampler-constructor cannot make an array of samplers 
 | |
| ERROR: 0:29: 'sampler3D' : sampler/image types can only be used in uniform variables or function parameters: s3d
 | |
| ERROR: 0:29: '=' :  cannot convert from ' const float' to ' global 4-element array of highp sampler3D'
 | |
| ERROR: 0:31: 'location' : SPIR-V requires location for user input/output 
 | |
| ERROR: 0:39: 'push_constant' : can only be used with a uniform 
 | |
| ERROR: 0:43: 'non-opaque uniforms outside a block' : not allowed when using GLSL for Vulkan 
 | |
| ERROR: 0:43: 'push_constant' : can only be used with a block 
 | |
| ERROR: 0:45: 'push_constant' : cannot declare a default, can only be used on a block 
 | |
| ERROR: 0:46: 'binding' : cannot be used with push_constant 
 | |
| ERROR: 0:49: 'push_constant' : Push constants blocks can't be an array 
 | |
| ERROR: 0:57: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:58: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:58: 'input_attachment_index' : can only be used with a subpass 
 | |
| ERROR: 0:59: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:59: 'input_attachment_index' : can only be used with a subpass 
 | |
| ERROR: 0:60: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:60: 'subpass' : requires an input_attachment_index layout qualifier 
 | |
| ERROR: 0:61: 'binding' : sampler/texture/image requires layout(binding=X) 
 | |
| ERROR: 0:66: 'subpassLoadMS' : no matching overloaded function found 
 | |
| ERROR: 0:67: 'subpassLoad' : no matching overloaded function found 
 | |
| ERROR: 0:69: 'subpassLoadMS' : no matching overloaded function found 
 | |
| ERROR: 0:72: 'subroutine' : not allowed when generating SPIR-V 
 | |
| ERROR: 0:72: 'subroutine' : feature not yet implemented 
 | |
| ERROR: 0:73: 'subroutine' : not allowed when generating SPIR-V 
 | |
| ERROR: 0:73: 'subroutine' : feature not yet implemented 
 | |
| ERROR: 0:75: 'non-opaque uniforms outside a block' : not allowed when using GLSL for Vulkan 
 | |
| ERROR: 0:79: 'texture' : no matching overloaded function found 
 | |
| ERROR: 0:80: 'imageStore' : no matching overloaded function found 
 | |
| WARNING: 0:88: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
 | |
|          "precision mediump int; precision highp float;" 
 | |
| ERROR: 0:97: 'call argument' : sampler constructor must appear at point of use 
 | |
| ERROR: 0:98: 'call argument' : sampler constructor must appear at point of use 
 | |
| ERROR: 0:99: ',' : sampler constructor must appear at point of use 
 | |
| ERROR: 0:100: ':' :  wrong operand types: no operation ':' exists that takes a left-hand operand of type ' temp sampler2D' and a right operand of type ' temp sampler2D' (or there is no acceptable conversion)
 | |
| ERROR: 0:100: 'call argument' : sampler constructor must appear at point of use 
 | |
| ERROR: 0:102: 'gl_NumSamples' : undeclared identifier 
 | |
| ERROR: 0:107: 'noise1' : no matching overloaded function found 
 | |
| ERROR: 0:108: 'noise2' : no matching overloaded function found 
 | |
| ERROR: 0:109: 'noise3' : no matching overloaded function found 
 | |
| ERROR: 0:110: 'noise4' : no matching overloaded function found 
 | |
| ERROR: 55 compilation errors.  No code generated.
 | |
| 
 | |
| 
 | |
| ERROR: Linking fragment stage: Only one push_constant block is allowed per stage
 | |
| 
 | |
| SPIR-V is not generated for failed compile or link
 |