 ff6dcca575
			
		
	
	
		ff6dcca575
		
			
		
	
	
	
	
		
			
			If a uniform has an initializer it will now be given as the optional initializer operand to the OpVariable instruction. Fixes: https://github.com/KhronosGroup/glslang/issues/1259 Signed-off-by: Neil Roberts <nroberts@igalia.com> (the code) Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com> (the tests) Signed-off-by: Arcady Goldmints-Orlov <agoldmints@igalia.com> Co-authored-by: Neil Roberts <nroberts@igalia.com>
		
			
				
	
	
		
			7 lines
		
	
	
		
			234 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			234 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| spv.uniformInitializerSpecConstant.frag
 | |
| ERROR: 0:9: '=' : uniform initializers must be constant 'layout( location=4) uniform float'
 | |
| ERROR: 1 compilation errors.  No code generated.
 | |
| 
 | |
| 
 | |
| SPIR-V is not generated for failed compile or link
 |