summaryrefslogtreecommitdiffstats
path: root/src/video_core/swrasterizer/proctex.h
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-04-17 09:01:45 +0200
committerwwylele <wwylele@gmail.com>2017-05-20 12:50:50 +0200
commitade45b5b9930b52b6a1d399306539073e8e2196d (patch)
tree19fc2c287591990b796530c383a1153f4b8fcda5 /src/video_core/swrasterizer/proctex.h
parentMerge pull request #2696 from Subv/vfp_revert (diff)
downloadyuzu-ade45b5b9930b52b6a1d399306539073e8e2196d.tar
yuzu-ade45b5b9930b52b6a1d399306539073e8e2196d.tar.gz
yuzu-ade45b5b9930b52b6a1d399306539073e8e2196d.tar.bz2
yuzu-ade45b5b9930b52b6a1d399306539073e8e2196d.tar.lz
yuzu-ade45b5b9930b52b6a1d399306539073e8e2196d.tar.xz
yuzu-ade45b5b9930b52b6a1d399306539073e8e2196d.tar.zst
yuzu-ade45b5b9930b52b6a1d399306539073e8e2196d.zip
Diffstat (limited to 'src/video_core/swrasterizer/proctex.h')
-rw-r--r--src/video_core/swrasterizer/proctex.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/video_core/swrasterizer/proctex.h b/src/video_core/swrasterizer/proctex.h
new file mode 100644
index 000000000..036e4620e
--- /dev/null
+++ b/src/video_core/swrasterizer/proctex.h
@@ -0,0 +1,16 @@
+// Copyright 2017 Citra Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include "common/common_types.h"
+#include "common/vector_math.h"
+#include "video_core/pica_state.h"
+
+namespace Pica {
+namespace Rasterizer {
+
+/// Generates procedural texture color for the given coordinates
+Math::Vec4<u8> ProcTex(float u, float v, TexturingRegs regs, State::ProcTex state);
+
+} // namespace Rasterizer
+} // namespace Pica