mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Convert BPMemory to BitField and enum class
Additional changes: - For TevStageCombiner's ColorCombiner and AlphaCombiner, op/comparison and scale/compare_mode have been split as there are different meanings and enums if bias is set to compare. (Shift has also been renamed to scale) - In TexMode0, min_filter has been split into min_mip and min_filter. - In TexImage1, image_type is now cache_manually_managed. - The unused bit in GenMode is now exposed. - LPSize's lineaspect is now named adjust_for_aspect_ratio.
This commit is contained in:
@ -13,6 +13,9 @@ using float4 = std::array<float, 4>;
|
||||
using uint4 = std::array<u32, 4>;
|
||||
using int4 = std::array<s32, 4>;
|
||||
|
||||
enum class SrcBlendFactor : u32;
|
||||
enum class DstBlendFactor : u32;
|
||||
|
||||
struct PixelShaderConstants
|
||||
{
|
||||
std::array<int4, 4> colors;
|
||||
@ -45,10 +48,10 @@ struct PixelShaderConstants
|
||||
std::array<int4, 32> konst; // .rgba
|
||||
// The following are used in ubershaders when using shader_framebuffer_fetch blending
|
||||
u32 blend_enable;
|
||||
u32 blend_src_factor;
|
||||
u32 blend_src_factor_alpha;
|
||||
u32 blend_dst_factor;
|
||||
u32 blend_dst_factor_alpha;
|
||||
SrcBlendFactor blend_src_factor;
|
||||
SrcBlendFactor blend_src_factor_alpha;
|
||||
DstBlendFactor blend_dst_factor;
|
||||
DstBlendFactor blend_dst_factor_alpha;
|
||||
u32 blend_subtract;
|
||||
u32 blend_subtract_alpha;
|
||||
};
|
||||
|
Reference in New Issue
Block a user