2013-04-17 21:09:55 -06:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2009-02-22 23:17:57 -07:00
|
|
|
|
2009-04-03 08:35:49 -06:00
|
|
|
#ifndef _TEXTURECONVERSIONSHADER_H_
|
|
|
|
#define _TEXTURECONVERSIONSHADER_H_
|
2009-02-22 23:17:57 -07:00
|
|
|
|
|
|
|
#include "Common.h"
|
|
|
|
#include "TextureDecoder.h"
|
2010-07-12 13:30:25 -06:00
|
|
|
#include "VideoCommon.h"
|
2009-02-22 23:17:57 -07:00
|
|
|
|
|
|
|
namespace TextureConversionShader
|
|
|
|
{
|
|
|
|
u16 GetEncodedSampleCount(u32 format);
|
|
|
|
|
2010-07-12 13:30:25 -06:00
|
|
|
const char *GenerateEncodingShader(u32 format, API_TYPE ApiType = API_OPENGL);
|
2009-02-22 23:17:57 -07:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2009-04-03 08:35:49 -06:00
|
|
|
#endif // _TEXTURECONVERSIONSHADER_H_
|
2009-02-23 22:20:52 -07:00
|
|
|
|