2015-05-23 22:55:12 -06:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-17 17:08:10 -06:00
|
|
|
// Licensed under GPLv2+
|
2013-04-17 21:29:41 -06:00
|
|
|
// Refer to the license.txt file included.
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2014-02-10 11:54:46 -07:00
|
|
|
#pragma once
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2014-09-07 19:06:58 -06:00
|
|
|
#include "Common/CommonTypes.h"
|
2010-07-06 10:16:07 -06:00
|
|
|
|
|
|
|
namespace TextureSampler
|
|
|
|
{
|
|
|
|
void Sample(s32 s, s32 t, s32 lod, bool linear, u8 texmap, u8 *sample);
|
|
|
|
|
|
|
|
void SampleMip(s32 s, s32 t, s32 mip, bool linear, u8 texmap, u8 *sample);
|
2010-12-30 23:45:18 -07:00
|
|
|
|
2014-08-10 19:18:38 -06:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
RED_SMP,
|
|
|
|
GRN_SMP,
|
|
|
|
BLU_SMP,
|
|
|
|
ALP_SMP
|
|
|
|
};
|
2010-07-06 10:16:07 -06:00
|
|
|
}
|