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