2017-04-17 09:01:45 +02:00
|
|
|
// Copyright 2017 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2020-04-19 04:06:34 +02:00
|
|
|
#pragma once
|
|
|
|
|
2017-04-17 09:01:45 +02:00
|
|
|
#include "common/common_types.h"
|
|
|
|
#include "common/vector_math.h"
|
2023-12-28 11:46:57 +01:00
|
|
|
#include "video_core/pica/pica_core.h"
|
2017-04-17 09:01:45 +02:00
|
|
|
|
2023-06-24 00:59:18 +02:00
|
|
|
namespace SwRenderer {
|
2017-04-17 09:01:45 +02:00
|
|
|
|
|
|
|
/// Generates procedural texture color for the given coordinates
|
2023-06-24 00:59:18 +02:00
|
|
|
Common::Vec4<u8> ProcTex(float u, float v, const Pica::TexturingRegs& regs,
|
2023-12-28 11:46:57 +01:00
|
|
|
const Pica::PicaCore::ProcTex& state);
|
2017-04-17 09:01:45 +02:00
|
|
|
|
2023-06-24 00:59:18 +02:00
|
|
|
} // namespace SwRenderer
|