forked from dolphin-emu/dolphin
		
	The upload in the backend isn't done, it's just pushed by the mostly removed SetMulti*SConstant4fv. Also no optimizations was done on VideoCommon side, but I can start now :-) Sorry for the hacky way, but I think this is a nice (working) snapshot for a much bigger change.
		
			
				
	
	
		
			22 lines
		
	
	
		
			456 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			456 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Copyright 2013 Dolphin Emulator Project
 | |
| // Licensed under GPLv2
 | |
| // Refer to the license.txt file included.
 | |
| 
 | |
| #ifndef _TEXTURECONVERSIONSHADER_H_
 | |
| #define _TEXTURECONVERSIONSHADER_H_
 | |
| 
 | |
| #include "Common.h"
 | |
| #include "TextureDecoder.h"
 | |
| #include "VideoCommon.h"
 | |
| 
 | |
| namespace TextureConversionShader
 | |
| {
 | |
| u16 GetEncodedSampleCount(u32 format);
 | |
| 
 | |
| const char *GenerateEncodingShader(u32 format, API_TYPE ApiType = API_OPENGL);
 | |
| 
 | |
| }
 | |
| 
 | |
| #endif // _TEXTURECONVERSIONSHADER_H_
 | |
| 
 |