mirror of
				https://github.com/PancakeTAS/lsfg-vk.git
				synced 2025-10-30 07:01:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			329 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			329 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include <cstdint>
 | 
						|
#include <vector>
 | 
						|
 | 
						|
namespace Extract {
 | 
						|
 | 
						|
    ///
 | 
						|
    /// Translate DXBC bytecode to SPIR-V bytecode.
 | 
						|
    ///
 | 
						|
    /// @param bytecode The DXBC bytecode to translate.
 | 
						|
    /// @return The translated SPIR-V bytecode.
 | 
						|
    ///
 | 
						|
    std::vector<uint8_t> translateShader(std::vector<uint8_t> bytecode);
 | 
						|
 | 
						|
}
 |