mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:02:44 +00:00 
			
		
		
		
	 f1de4f8872
			
		
	
	
		f1de4f8872
		
	
	
	
	
		
			
			For now, this is limited to strings that are 3 bytes or less. We can use 7 bytes on 64-bit platforms, but we do not yet assume 64-bit for Lagom hosts (e.g. wasm).
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2022, Stephan Unverwerth <s.unverwerth@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #include <LibGLSL/Compiler.h>
 | |
| 
 | |
| namespace GLSL {
 | |
| 
 | |
| ErrorOr<NonnullOwnPtr<ObjectFile>> Compiler::compile(Vector<String> const&)
 | |
| {
 | |
|     // FIXME: implement this function
 | |
|     m_messages = {};
 | |
|     return adopt_own(*new ObjectFile());
 | |
| }
 | |
| 
 | |
| }
 |