mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 14:45:41 +12:00
21 lines
No EOL
445 B
C++
21 lines
No EOL
445 B
C++
#pragma once
|
|
#include <array>
|
|
#include <type_traits>
|
|
|
|
#include "helpers.hpp"
|
|
|
|
namespace PICA {
|
|
struct FragmentUniforms {
|
|
using vec3 = std::array<float, 3>;
|
|
using vec4 = std::array<float, 4>;
|
|
static constexpr usize tevStageCount = 6;
|
|
|
|
s32 alphaReference;
|
|
float depthScale;
|
|
float depthOffset;
|
|
|
|
alignas(16) vec4 constantColors[tevStageCount];
|
|
alignas(16) vec4 tevBufferColor;
|
|
alignas(16) vec4 clipCoords;
|
|
};
|
|
} // namespace PICA
|