2015-05-24 06:55:12 +02:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2010-07-06 16:16:07 +00:00
|
|
|
|
2014-02-10 13:54:46 -05:00
|
|
|
#pragma once
|
2010-07-06 16:16:07 +00:00
|
|
|
|
2014-09-07 20:06:58 -05:00
|
|
|
#include "Common/CommonTypes.h"
|
2010-07-06 16:16:07 +00: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-31 06:45:18 +00:00
|
|
|
|
2014-08-10 21:18:38 -04:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
RED_SMP,
|
|
|
|
GRN_SMP,
|
|
|
|
BLU_SMP,
|
|
|
|
ALP_SMP
|
|
|
|
};
|
2019-05-05 23:48:12 +00:00
|
|
|
} // namespace TextureSampler
|