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